Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lower the number of network requests (spoiler: possible solutions provided) #215

Open
verlok opened this issue Dec 17, 2020 · 0 comments
Open

Comments

@verlok
Copy link
Contributor

verlok commented Dec 17, 2020

Problem

We're trying to lower the number of network requests that hit our servers.

Initially, we thought that using the throttle option would be useful. Yes, that option preserves our CDN and servers, but QuickLink becomes useless for users who scroll down fast, because it continues to fetch links that already exited the viewport, but still in the queue of the throttled requests.

Solution

We'd like to:

Additional context

We've covered both pull requests with a test of the individual option and, additionally, I've created a repo to test 3 options (throttle, threshold and delay) together. Everything works as expected, without side effects. It's currently on a private repository, but no problems to publish it.

(in this issue and pull requests, "we" means me and my workmate @albertonarda)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant