News for hackers. Stuff that matters.
Re:Cash: An absurdly small jQuery alternative for modern bro... by blhack on Friday April 01, 2016 @08:49PM (#11409649)
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?

Re:Cash: An absurdly small jQuery alternative for modern bro... by hyperpape on Friday April 01, 2016 @09:02PM (#11409701)
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...).

Re:Cash: An absurdly small jQuery alternative for modern bro... by redrummr on Friday April 01, 2016 @08:56PM (#11409673)
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.