I was unaware until recently that Google now offers its own repository for javascript frameworks. It wasn’t until I actually tried this out for myself that I found in most cases my pages loaded faster when I called in jQuery through Google. This you may think Isn’t a smart move, what if Google moves the code URL? well Google have promised the repository will stay fixed for the next 10 years and beyond. so that’s reassurance enough for me.
Clever Thinking
What I was most impressed with however was the forward thinking nature of the repository. For example I recently upgraded my jQuery library to version 1.3, by using Google, however version 1.3 had several bugs in its release, so when version 1.3.1 came out, Google took the initiative to upgrade for me. let me show you what I mean.
This is what a call to a javascript framework looks like, if you call it from Google;
<pre>
http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js
<pre>
of course if you can choose which version you want, and if you want it minified or uncompressed via the relevant directories, and if a user goes from 1 website using the same js framework being called from google, to your website the framework will already be loaded, meaning that your page will load even quicker, pretty nifty I think. why not check it out for yourself, and see if you notice the difference
January 29th, 2009
I’m glad you found this to be fast as I did. Also it will be faster not only because Google’s hosting is faster. It will also be faster because most browsers will only fetch 3 items at a time from each domain, but if you source items for multiple domains then it will fetch more then 3 items at a time.
« Reply
May 20th, 2011
test
« Reply
May 17th, 2013
Hello would you mind letting me know which hosting company you’re using? I’ve loaded your blog in 3 different web browsers and I must say this blog loads a lot faster then
most. Can you suggest a good hosting provider at a honest price?
Cheers, I appreciate it!
« Reply