jQuery UI now in Google’s AJAX Libraries API
August 13th, 2008 — Richard D. WorthGoogle announced recently that jQuery UI is the latest addition to their hosted AJAX Libraries API:
jQuery UI … is now hosted on our AJAX Libraries API! As usual, your users will get a performance boost when you use JQuery UI through our API, so get started by checking out the docs.
Now you can put one script tag on any page and benefit from cache, min, gzip, and google’s CDN:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.2/jquery-ui.min.js"></script>
and you’ve got all jQuery UI plugins and effects. Beauty.
August 13th, 2008 at 9:25 am
Refresh my memory, is an API key required to use the AJAX libraries. not very practical for developers who work on multiple sites, if so?
August 13th, 2008 at 10:33 am
No API key needed. See http://code.google.com/apis/ajaxlibs/ for an example.
Also, you can include the js file directly in a script tag (as I showed above), if that suits you.
October 2nd, 2008 at 9:16 pm
I like how Google allows the you to load the latest version via their google.load() release versioning wild card. Cant do that by directly including the js file though.