Google Ajax Libraries API & How To Save On Your Wordpress Bandwidth

Google Ajax Libraries API & How To Save On Your Wordpress Bandwidth

shoemoney · · 2 min read
Did you know Google hosts various JavaScript library for you? They currently support: Just looking at November stats for this blog ShoeMoney.com you can see we have used over 6 gigabytes of bandwidth calling the jquery JavaScript library: Now honestly I don't care about the bandwidth savings... my bill is the same if I did not use this but I do care about security and I am much more inclined to believe Google will have a up to date, secure version hosted then the one that wordpress installs (and I forgot to update). I wonder why Wordpress does not use the Google hosted JavaScript libraries by default. Its one less thing they would have to worry about in regards to version, security, and bandwidth for its users. From the official Google Ajax Libraries API site:
The AJAX Libraries API is a content distribution network and loading architecture for the most popular, open source JavaScript libraries. By using the Google AJAX API Loader's google.load() method, your application has high speed, globaly available access to a growing list of the most popular, open source JavaScript libraries including:
And here is a movie from their developers on youtube: Good stuff Google!