Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Are there any good reasons to pull Google's jQuery from their servers as opposed to using the one included with Wordpress?

I'm confused as to why I might want to use Google's library. Doesn't Wordpress, with its frequent updates, keep the latest version?

Or am I missing something?

Thanks.

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

The big advantages are the Google CDN and the client side caching of the library. Your visitor will probably have a version of the jquery library in the browsers cache already, so he doesn't have to re-download the script from the local version used by WordPress.

One big disadvantage by including the library from the cloud: You have to trust Google.

share|improve this answer
    
Doesn't Google still use "do no evil" as it's company mantra? ;-) –  Ray Gulick Sep 27 '11 at 19:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.