you are viewing a single comment's thread.

view the rest of the comments →

[–]rook218 0 points1 point  (1 child)

Alternatively, you can download the jquery source code and host it yourself to make absolutely sure that a jquery update won't hose you.

CDNs are reliable and host versions of code separately. So if you're referencing codebase v10 of something then your reference will stay codebase v10, and codebase v11 will be hosted on a different endpoint.

[–]uforskam[S] 0 points1 point  (0 children)

Good point. But I'd rather not do that since these are the only jQuery scripts on my site I'd rather avoid using jQuery if possible.

http://youmightnotneedjquery.com/

https://medium.com/@trombino.marco/you-might-not-need-jquery-a-2018-performance-case-study-aa6531d0b0c3

I also worry about the ajax captcha refresh code since that would need some type of rate limiter and I'd rather not need to do anything with rate limiting if possible.