Re:Modern JavaScript has made the web worse (2020)
by spacebear on Sunday November 14, 2021 @07:14PM
(#29222052)
Also, that massively centralizes the Internet in a way that's not great. If one of those CDNs gets hacked or just goes down for an hour, it breaks every website that uses it.
[ Parent
| on HN ]
Re:Modern JavaScript has made the web worse (2020)
by dagw on Monday November 15, 2021 @04:49AM
(#29225597)
It's pretty easy and should be best practice to add a bit of code that checks if you successfully downloaded the library from the CDN and falls back to grabbing it from your server if it failed.