Google Hosted jQuery
Performance can be increased because your user is going to download the jQuery file from Google’s CDN network and not from your server. Also, it could be even faster if the user visited another website that also uses Google’s hosted jQuery. If that is the case then your user won’t need to download it again and will use the exactly same cached version.
There are two ways to do this.
The fastest and simplest is to link directly to the Google’ hosted jQuery file:
The second approach has more features but there is a slight delay while the jsapi loads the correct version of jQuery. If you want the absolute best performance use the first version.
Signup to get your own API key
Add the following code to your layout:
You can also specify the latest version of the 1.4 branch: