Hacker News new | ask | show | jobs
by dragonwriter 2066 days ago
> It doesn't help your website if your own server has issues while the CDN has the best exports ensuring its 99.999% uptime.

That's certainly true of the server on which your APIs, if any, reside, but isn't it typical for your website itself to also leverage the CDN for distribution?

1 comments

Distributing your website on a CDN is fine, but then, all of your fonts and JS belong on that same CDN.

Basically, you should never have a production website which calls out to cdnjs.cloudflare.com or ajax.googleapis.com or fonts.googleapis.com, you should be hosting all of your site's dependencies in the same place or set of places.

As a side perk, your site also will stop looking like trash for users who use browser extensions to block such external calls. ;)