3 ms·
I remember Google suggesting that everyone use common libraries hosted by a shared CDN and then suggesting de-ranking slow websites and I think that’s what led
by treflop 2y ago
I remember Google suggesting that everyone use common libraries hosted by a shared CDN and then suggesting de-ranking slow websites and I think that’s what led to widespread adoption of this pattern.
The only reason I stopped using third-party hosted libraries was because it wasn’t worth the trouble. Using subresource integrity makes it safe but it was part of the trouble.
- chefandy 2y agoSure... Though while I hate to say it, I don't blame people for trusting Google's hosted copy of something. For better or worse, they are more trustworthy than some "as seen on a million janky tutorials" whatever.io. A very privacy-focused employer precluded that possibility during peak adoption, but with what many sites load up, that's the least of your worries.
- treflop 2y agoNo problem with Google hosting it (although I’d still use sub-resource integrity) but anyone else?
- chefandy 2y agoAmusing: https://news.ycombinator.com/item?id=10143620 https://news.ycombinator.com/item?id=10143620 The original author probably should have done everyone a favor and just killed the site altogether.