Using Google hosted JavaScirpt is always best for website. The JS files is used by thousands other sites so that majority of time the files was already cached on users browser which means that user don’t need to download that file. Results in faster page load plus it saves server bandwidth.
If you are wondering how to get the always updated version of Google CDN hosted copy of jQuery then you may use the links given below. It always recommended not to use Always update version of jQuery as a CDN for your website. If jQuery updates the version and some of your scripts are not compatible with that latest version then your site may cause some problems. However this happens in rare cases.
If you are referring to jquery file in the post then you may use following link to show always up-to date version of jQuery to the readers.
http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
If you want to link to specific release then you may use following link (This refers current release which is 1.7.1)
http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js





Recent Comments