News for hackers. Stuff that matters.
Re:You might not need jQuery (2014) by dylan604 on Thursday January 14, 2021 @12:42AM (#25772558)
if the 30KB library is already cached because everyone else is using it too, then isn't it technically smaller than however many hundreds of lines of code you had to custobuild?
Re:You might not need jQuery (2014) by arp242 on Thursday January 14, 2021 @12:59AM (#25772672)
Most modern browsers don't really have global caches any more, and it's now all partitioned per-origin.

I do agree 30k is hardly worth thinking about.

Re:You might not need jQuery (2014) by satyrnein on Thursday January 14, 2021 @06:19AM (#25775031)
I think they are referring to loading it from a global CDN.
Re:You might not need jQuery (2014) by arp242 on Thursday January 14, 2021 @06:34AM (#25775159)
Re:You might not need jQuery (2014) by satyrnein on Thursday January 14, 2021 @12:32PM (#25779288)
Thanks, I didn't know that!