Some of my favourites:
jQuery
1 | <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> |
jQuery UI
1 2 3 4 | <link href="//ajax.googleapis.com/ajax/libs/jqueryui/1.9.0/themes/ui-lightness/jquery-ui.css" rel="stylesheet"> <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/jquery-ui.min.js"></script > |
More jQueryUI: (from the Official Blog post)
- Uncompressed: http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.0/jquery-ui.js
- Compressed: http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.0/jquery-ui.min.js
- Themes:
base, black-tie, blitzer, cupertino, dark-hive, dot-luv, eggplant, excite-bike, flick, hot-sneaks, humanity, le-frog, mint-choc,overcast, pepper-grinder, redmond, smoothness, south-street, start, sunny, swanky-purse, trontastic, ui-darkness, ui-lightness, and vader.
WebFont
1 | <script src="//ajax.googleapis.com/ajax/libs/webfont/1.1.2/webfont.js"></script> |
Boostrap
1 2 3 | <link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css" rel="stylesheet"> <script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js"></script> |
The Good
- Your site will load faster for most users
– CDN always serves the files from the server closest to the user
– They have set the proper cache header to enable client caching
– If another site also uses the CDN hosted library, the user already have local cache, so loads even faster Continue reading “Using CDN hosted Javascript libraries”