Archive for March, 2009

Use Google Libraries 1.0.5

Friday, March 20th, 2009

Updated WordPress Plugin

I’ve updated my Use Google Libraries plugin. This version implements a pair of suggestions from Peter Wilson.

  • Use Google Libraries should detect when a page is loaded over https and load the libraries over https accordingly
  • Use Google Libraries no longer drops the micro version number from the URL. The reasons for this are twofold:
    • It ensures the version requested is the version received.
    • Google’s servers set the expires header for 12 months for these urls, as opposed to 1 hour. This allows clients to cache the file for up to a year without needing to retrieve it again from Google’s servers. If the version requested by your WordPress install changes, so will the URL so there’s no worry that you’ll keep loading an old version.

What are you waiting for? Download it from the Plugin Directory (or use the auto-update feature in WordPress 2.7+). If you find it useful, feel free to leave a tip.