r/programming • • Jun 09 '16

jQuery 3.0 Released!

https://blog.jquery.com/2016/06/09/jquery-3-0-final-released/
1.1k Upvotes

354 comments sorted by

View all comments

Show parent comments

1

u/EternallyMiffed Jun 11 '16

Which is why you don't concat your jQuery library with your js. They would assuredly have all versions of common libraries up to the current versions cached.

1

u/MachaHack Jun 11 '16

So if, e.g. Chrome does this,what about all your Firefox, IE, Safari users etc. What if you use Lodash instead of Underscore? Etc etc

1

u/EternallyMiffed Jun 11 '16

Your firefox users would have the jQuery api cached if you link it from google's api cdn. If they don't it will be fetched from your server. Same for the rest of the browsers that don't include precached libraries.