There’s still no definite answer for this, but we can provide some information here that should help you make a more educated decision about which CDN you use to host your jQuery.
Which CDN is fastest?
Pingdom.com did a neat little analysis to figure this out, and it emerged that the jQuery.com CDN (aka Edgecast) delivers jQuery fastest on average, with the Microsoft CDN coming in second, and the Google CDN finishing third. In Europe, the Microsoft CDN delivered fastest of all.
Does this mean you should forget about using the Google CDN? Read on…
Which CDN is most widely used?
This is a big deal, since the more popular a particular CDN is, the more likely visitors will be to have the necessary jQuery file already cached when they land on your website. And if they do have it cached, then it doesn’t matter which CDN is the fastest since the file won’t even need to be retrieved in the first place.
So, which CDN is the most popular? According to this study, it’s Google by a landslide. Many popular sites rely on the Google CDN to serve up their jQuery, such as Break.com, FAIL Blog, Foursquare, Twitter, Posterous, SitePoint, Stack Overflow, Stanford.edu, and even the jQuery site itself (how’s that for a vote of confidence?).
What else am I pulling from a CDN?
Another factor to consider is what other jQuery files are on offer from each CDN. For example, if you want to use CDN hosted jQuery Templates or jQuery Validate, Google can’t help you, while Microsoft can. If you’re looking for CDN hosted jQuery Mobile, jQuery.com is your best bet.
A few links to help you out here:
Which CDN suffers the least outages?
All three jQuery CDN’s rarely suffer outages, and for most of us this isn’t even worth worrying about. If it is a big deal for you, unfortunately there’s no reliable data out there to determine which CDN is the most reliable in terms of uptime.
That said, if outages are a valid concern for you, check out this post: CDN Hosted jQuery with a Local Fall-Back Copy