Use Google Libraries
A number of the javascript libraries distributed with WordPress are also hosted on Google’s AJAX Libraries API . This plugin allows your WordPress site to use the content distribution network side of Google’s AJAX Library API, rather than serving these files from your WordPress install directly. Thi
A number of the javascript libraries distributed with WordPress are also hosted on Google’s AJAX Libraries API . This plugin allows your WordPress site to use the content distribution network side of Google’s AJAX Library API, rather than serving these files from your WordPress install directly.
This provides numerous potential performance benefits:
- increases the chance that a user already has these files cached
- takes load off your server
- uses compressed versions of the libraries (where available)
- Google’s servers are set up to negotiate HTTP compression with the requesting browser
For a more detailed look see Dave Ward’s 3 reasons why you should let Google host jQuery for you .
Supported Libraries and Components
- Dojo
- jQuery
- jQuery UI
- MooTools
- Prototype
- script.aculo.us
- swfobject
Links
- Use Google Libraries Home
- Issue Tracker
- GitHub Repository
- Support Forum
Incompatible Plugins
Better WordPress Minify
Better WordPress Minify version 1.2.2 does not yet support protocol-relative URLs, but the next release is supposed to correct this .
Gravity Forms
I’ve had reports of Gravity Forms breaking UGL, but I don’t have access to Gravity Forms, so I’m not sure what’s going on. If you need Gravity Forms you might need to disable UGL, or it might be fine, I’m not really sure.
WP-Minify
WP-Minify doesn’t yet support protocol-relative URLs. Add ‘//ajax.googleapis.com/’ as a JS and CSS exclusion.