This provides numerous great performance benefits:
- Decreased Latency
- Increased parallelism
- Better caching
- HTTP compression with the requesting browser
Supported Libraries and Components:
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.