Hacker News new | past | comments | ask | show | jobs | submit login

Does the size of a popular js library like jquery matter, really? Most browsers (if you're using one of the CDNs) will have it cached already. And the expiration is something like a year.

Maybe I'm missing something?




The caching is surprisingly bad: http://www.stevesouders.com/blog/2013/03/18/http-archive-jqu...

Facebook did a related study more recently and found that large numbers of users had cold caches (https://code.facebook.com/posts/964122680272229/web-performa...).


There are so many versions of jquery, and so many cdns, that most likely 70-90% of visitors don't have your specified jquery file cached. So yes, I believe it does matter. Jquery isn't something understood to be special to a browser, wherein the http requests would go through a special "see if any jq of the required version is cached" process.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: