2 ms·
So, yeah, one thing that I learned about these CDNs They will stop working eventually So you may try to load from them, but always have a fallback. In your we
by raverbashing 13y ago
So, yeah, one thing that I learned about these CDNs
They will stop working eventually
So you may try to load from them, but always have a fallback. In your website
An example: what if code.jquery.org gets compromised?
- aidos 13y agoIn that case your fallback isn't going to help - unless you're performing a checksum on the response you get from code.jquery.org. I know it's probably not considered great practice anymore but I generally just self host js libs. One less thing to go wrong and I often develop without an internet connection. Saves on having to dropback to a fallack every time.
- raverbashing 13y agoYes, true, in the case of a compromise it won't help. But I've found that outages are more frequent (including my own internet connection) So yes, it also is necessary for development without an internet connection.