2012-02-23, 01:59:27
Quote:If a CDN is required, why use Google instead of jQuery's own (code.jquery.com) ?
I had the same question once and I got this answer which I think is quite reasonable:
because Google's server are spread around the world and it is quite reasonable that the CDN (the distributed code repository server) is near to the visitor's place
if you load from jquery.com, it will have the same effect as if loading locally from your server
imagine your server is in Germany, the visitor sits in Mongolia
It is obvious that a google CDN server is nearer to Mongolia than your server
so the script will load faster
Cheers, Connie
|--
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18