4 ms·
But as a user, I don’t want to waste time (and resources) re-fetching the same library from different sites all the time. I might not be somewhere with a good i
by bo1024 4y ago
But as a user, I don’t want to waste time (and resources) re-fetching the same library from different sites all the time. I might not be somewhere with a good internet connection or I might pay for data, etc.
- jerf 4y agoYou increasingly don't get a choice. Due to the ability to fingerprint people by measuring how long it takes to access resources, browsers are moving in the direction of completely sharding the cache by site anyhow to secure people away from that. If they're not already all there, they are getting pretty close. The argument in favor of a CDN in terms of "hoping the user already has jQuery or something in their cache" is nearly dead now. I seem to recall some people measuring the effect even before it was dead, and the hit rate was never all that great anyhow. There were so many versions of jQuery, so many other libraries, and so many CDNs, it still didn't hit as often as you might think.