Save Your Bandwidth! Let Google Host Your jQuery Library

It may not be widely known, but Google has been hosting several JavaScript libraries on Google Code and jQuery is one of those libraries. This has a few different advantages to allowing Google to host this file for you including:

  • It is hosted on Google.  Your bandwidth is not taken up by loading the library
  • Google can probably serve us the file faster than your server.  Especially if you are on a shared hosting solution
  • If your user has been to a site that uses the library from Google, they have already cached it.

Using the Google’s library is incredibly simple.  All you have to do is use the following code to include the jQuery library from Google:

<script src=””></script>