Allows your site to use common javascript libraries from Google’s AJAX Libraries CDN, rather than from own local copies.


A number of the javascript libraries which we use in the WordPress sites 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 local directly. Some parts of this plugin is inspired by John Blackbourn’s Google AJAX Libraries,  which has very similar goals to this plugin.

This provides numerous great performance benefits:

  1. Decreased Latency
  2. Increased parallelism
  3. Better caching
  4. HTTP compression with the requesting browser

Download Ajax Google Libraries CDN Plugin

Supported Libraries and Components:

  1. Dojo
  2. jQuery
  3. jQuery UI
  4. MooTools
  5. Prototype
  7. swfobject

Frequently Asked Questions:

Q) What happens when Google updates their library versions?

Answer: Google has stated that they intend to keep every file they’ve hosted available indefinitely, so you shouldn’t need to worry about them disappearing.

Q) Why isn’t in doing anything?

Answer: Firstly, if you are using a caching plugin, flush the cache or temporarily disable it to be sure it’s not doing anything. That said, I’ve done my best to make **Use Google Libraries** gracefully step out of the way when things are not as expected. While not, perhaps, giving you the greatest benefit it helps ensure you site doesn’t just flat out stop working. In general, anything that calls wp_register_script and/or wp_eneque_script before ‘init’ causes trouble for **Use Google Libraries**. I’ve made an effort to force it to try and run anyhow, so please report any issues with this. If you have ‘WP_DEBUG’ enabled, a message will be logged letting you know this is happening.

Q)  How do I use the libraries supplied by Use Google Libraries?

Answer: The same way you use them when Use Google Libraries isn’t installed using ‘wp_enqueue_script’. In fact you should develop your theme or plugin without Use Google Libraries being enabled at all, then test it both ways.