Google jquery api cdn

Jan 05, 2012 · Google is sea of free services. Do you know that Google is also hosting jQuery libraries on its CDN(Content delivery network) and allows any website to use it for free. But why to use Google hosted jQuery CDN?

Do not let your CDN betray you: Use Subresource Integrity Sep 25, 2015 · This way you prevent MITM attacks. Way more likely than a rogue CDN. September 28th, 2015 at 09:06. JW. This would be insanely more powerful if you could also provide a resource size. Its far more likely 19k jquery and 2meg jquery (injected code) can have similar hashes than 2 different 19k files. Use of not China friendly - Meta Stack For technical reasons, we use the Google CDN for the jQuery files (a CDN is a Content Delivery Network - a bit of technology that makes distributing things like images and JavaScript libraries across the world faster) - that's what is hosted on This is something many many sites do and as result many people will already have

There are two ways of using the Ajax Libraries API. Firstly, you can just use Google to host your jQuery file: