admin管理员组文章数量:1421557
It's pretty mon 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 remend?
It's pretty mon 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 remend?
Share Improve this question edited Aug 28, 2010 at 18:22 munity wiki2 revs
makerofthings7 1
- Made this a munity wiki to encourage the posting of more URLs – makerofthings7 Commented Aug 28, 2010 at 19:27
3 Answers
Reset to default 7Google hosts a few more than jQuery, so it's a pretty good CDN resource:
- Dojo
- Ext Core
- jQuery
- jQuery UI
- MooTools
- Prototype
- script.aculo.us
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:
- jQuery 1.4.2: http://ajax.googleapis./ajax/libs/jquery/1.4.2/jquery.js
- Latest 1.4.x: http://ajax.googleapis./ajax/libs/jquery/1.4/jquery.js
- Latest 1.x.x: http://ajax.googleapis./ajax/libs/jquery/1/jquery.js
- jQuery 1.3.2: http://ajax.googleapis./ajax/libs/jquery/1.3.2/jquery.js
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.
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.
You can read more about CDNs in this post.
本文标签:
版权声明:本文标题:performance - What well known JavaScript libraries are located on CDN's, and what are the URLs'? - Stack Overflo 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745352478a2654853.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论