5 ms·
So say 50 elements. With a 50ms difference that's 2.5 seconds of total time. Most browsers will do 2-4 simultaneous connections, so let's say 4, that's still
by modoc 15y ago
So say 50 elements. With a 50ms difference that's 2.5 seconds of total time. Most browsers will do 2-4 simultaneous connections, so let's say 4, that's still over 1/2 second faster page load. Now put that end user in Europe or Africa, and you're looking at 200-500 ms latency per call, versus 10 ms. You can see how the math works.
Assets loaded on some of your recently submitted URLs:
21 - http://www.mozilla.org/en-US/firefox/10.0/releasenotes/ http://www.mozilla.org/en-US/firefox/10.0/releasenotes/
60 - http://www.adequatelygood.com/2010/2/JavaScript-Scoping-and-Hoisting http://www.adequatelygood.com/2010/2/JavaScript-Scoping-and-...
104 - http://www.hollywoodreporter.com/thr-esq/falling-skies-lawsuit-tnt-font-285103 http://www.hollywoodreporter.com/thr-esq/falling-skies-lawsu...
282 - https://plus.google.com/u/0/111314089359991626869/posts/HQJxDRiwAWq https://plus.google.com/u/0/111314089359991626869/posts/HQJx...
54 - http://www.computerworld.com/s/article/9223601/Anonymous_dupes_users_into_joining_Megaupload_attack http://www.computerworld.com/s/article/9223601/Anonymous_dup...
67 - http://abcnews.go.com/blogs/politics/2012/01/rand-paul-in-pat-down-standoff-with-tsa-in-nashville/ http://abcnews.go.com/blogs/politics/2012/01/rand-paul-in-pa...
70 - http://www.wptavern.com/bad-behavior-in-the-wordpress-community http://www.wptavern.com/bad-behavior-in-the-wordpress-commun...
etc....
The impact of reducing latency for each of those calls, and offloading those requests from your server(s) is a big deal for big sites.
- ck2 15y agoStrong upvote for defending your argument with researched examples. I guess I am old school, I'd never serve that many elements on initial page load, CDN or not, that's crazy. Each additional DNS lookup can add up to 2 seconds if it's a cold cache-miss. Most modern browsers/servers use pipelining so it's not a 50ms connect each time. Different continent I might understand the desire. But I have a server in VA that can serve western Europe at 75-100ms connect time, which is not horrible.