Use Google hosted jQuery

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
I just read an article that gives a lot of good reasons to have jQuery scripts hosted at Google. The article even provides test case with graphical charts. Here is the link:

http://blog.httpwatch.com/2008/07/08/test-drive-of-the-google-hosted-ajax-libraries/

Here are some of the reasons why to use jQuery scripts hosted at Google:

•The libraries are hosted on Google’s high speed global network providing fast access from most locations world wide
•HTTP compression minimizes the size of the download
•Minimized versions each library are available to further reduce download size
•The library that your site uses may already be in the user’s browser cache if the user has visited another site that uses the Google hosted libraries
•You can specify which version of a library should be used with a hard coded URL or allow for automatic version upgrades using the google.load() function
•Downloading from a different hostname (i.e. ajax.googleapis.com) frees up an HTTP connection in the browser that can be used to download other resources from your site
•Google picks up the bandwidth bill for the hosted Javascript libraries
13 years ago
I've seen something like this for Microsoft too, I think..

Do you know which file I need to edit?
13 years ago
Hi,

I haven't tried it myself. We talked about this a while ago and decided not to do it.

The reason was that since you are not in complete control over the functions it could (probably not but there is a chance) cause problems.

I am almost certain that it wouldn't be a problem doing it, but the reward isn't big enough to risk it.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.