1

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.

4

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.

1
  • Doesn't Google still use "do no evil" as it's company mantra? ;-)
    – Ray Gulick
    Sep 27 '11 at 19:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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