News for hackers. Stuff that matters.
Re:You may not need Moment.js by doliveira on Saturday September 18, 2021 @05:42PM (#28579591)
Even before the current rules partitioning cache by domain, has the promise of those cached scripts ever paid off? Even when every website would use just jQuery, everyone had a different version, getting it from a different CDN, etc...
Re:You may not need Moment.js by FranksTV on Sunday September 19, 2021 @02:01AM (#28582050)
Look, sometimes we need to tell ourselves stories to make ourselves feel better about the amount of Javascript we're making people download to access our blogs.
Re:You may not need Moment.js by q-rews on Sunday September 19, 2021 @03:34AM (#28582435)
Probably not. A few requests surely got cached, but the vast majority likely did not. jQuery has its own official CDN URL so that probably had a chance at being deduplicated.