Harry Roberts avatar Harry Roberts

Self-Host Your Static Assets

Screenshot of “Self-Host Your Static Assets”

One of the quickest wins—and one of the first things I recommend my clients do—to make websites faster can at first seem counter-intuitive: you should self-host all of your static assets, forgoing others’ CDNs/infrastructure. In this short and hopefully very straightforward post, I want to outline the disadvantages of hosting your static assets ‘off-site’, and the overwhelming benefits of hosting them on your own origin.

Read the full post, there's an important topic at the end that I would have put in the begining: the issues Harry shows are not with CDN per se, more with additional domains. As he says, you should get a CDN for your own main domain, and use it also — on the same domain — for static assets.