3 ms·
Most browsers (I know Firefox, Chrome, and IE) automatically limit the number of concurrent requests they'll do on a single server. Adding JS to only prefetch,
by scintill76 11y ago
Most browsers (I know Firefox, Chrome, and IE) automatically limit the number of concurrent requests they'll do on a single server.
Adding JS to only prefetch, say, 10 slides forward, might be a good progressive enhancement, but not a requirement. And, along the lines of what someone else said, if your server is excessively burdened by a malicious client, or even one that doesn't execute your JS, that's a server problem.
- amelius 11y agoThose arguments are flawed for the following reason. Suppose your website has a single slide per page. Let's say the website allows N simultaneous users before it breaks down (becomes too slow). Of course, even a superfast server will break down at some point. Now, suppose browsers perform X concurrent requests (because of built-in behavior of the browser). Suddenly, you can not serve N users anymore, but only approximately N/X users.