Hacker News new | ask | show | jobs
by ocdtrekkie 2066 days ago
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. ;)