11 comments

[ 3.5 ms ] story [ 31.8 ms ] thread
If you're affected and can grab a copy of the jquery-version.min.js file you need, add it to your project and then add this line (adjusted for path and version) right after the failing call to the CDN:

<script>window.jQuery || document.write('<script src="/resources/js/jquery-3.1.1.min.js"><\/script>')</script>

(comment deleted)
Great opportunity to strip out unnecessary uses of jQuery, and move to vanilla javascript.

http://youmightnotneedjquery.com/

More like you "might not need a CDN" unless you're hosting video files or other bandwidth hogs. Stripping out jquery from legacy projects is a waste of time.

Why do people add dependencies like CDNs for tiny .js libraries?

Looks like they used Let's Encrypt to save the day!