5

It's pretty common knowledge that JQuery is in both the Microsoft and Google CDN, but there are more and more I'm hearing about such as Yahoo YAPI and others.

I'm a new web developer and am interested in hearing about what libraries are widely used, located on a CDN, and worth learning about. What libraries would you recommend?

halfbit
  • 54,462
  • 46
  • 195
  • 426

3 Answers3

7

Google hosts a few more than jQuery, so it's a pretty good CDN resource:

Another benefit of Google's that's not as publicized as it should be is it hosts most previous versions and lets your access it in a number of ways, for example:

And another not-so-publicized feature is they host jQuery UI and the CSS/images for all the base themes, there's a question on it here, just change the version numbers in the URL to match the library version you're using.

Community
  • 1
  • 1
Nick Craver
  • 594,859
  • 130
  • 1,270
  • 1,139
2

Library is up to you. jQuery has a lot of momentum and Microsoft have adopted it, so I'd say it is a good contender.

Google hosts quite a few libraries.

The Microsoft CDN is not as good, as it doesn't use its own domain, so you may end up with cookie data from the Microsoft site being passed around.

alex
  • 438,662
  • 188
  • 837
  • 957
2

You can read more about CDNs in this post.

Community
  • 1
  • 1
Daniel O'Hara
  • 12,777
  • 3
  • 43
  • 66