|
I've heard Microsoft have a CDN (Content Delivery Network) for jQuery, as do Google (both linked and through the google.Load() method). Are there others, and has anyone done comparisons of performance and reliability? |
|
I think you should use the Google CDN. It's simple statistics. Those who would consider using the MS CDN for jQuery will always be a minority. There are too many non-MS developers using jQuery who will use Google's and wouldn't consider using Microsoft's. Since one of the big wins with a public CDN is improved caching, splitting usage among multiple CDNs decreases the potential for that benefit. Another consideration is that calling it via Google you'll always have the latest version:
will return the last 1.xx version of jQuery minified (now the 1.4). And the google minified version is 6k lighter than the others. Even Stackoverflow is using Google: check the page sources at http://stackoverflow.com
(Jan 30 '10 at 10:25)
Pietro Polsinelli ♦♦
|
|
Read this post on how to failover your CDN by Mark Boas: http://happyworm.com/blog/2010/01/28/a-simple-and-robust-cdn-failover-for-jquery-14-in-one-line/ |


