Loading a static website I get a
Failed to load resource: net::ERR_CONTENT_DECODING_FAILED
on the first load (and sometime at other time). When I refresh it’s all good.
I use Nginx, does that need to be setup for CDN? Do I need to load my CDN assets differently, this is how I use it on my site:
<link rel=“stylesheet” href=“https://finepine.sfo2.cdn.digitaloceanspaces.com/css/style.min.css”>
The website in question is https://finepine.ca
It loads ok sometime in chrome. In firefox when there is no cache the site doesn’t load on the first page load, then refresh show the site normally again.
Loading the assets locally instead of the CDN works, but I would like to resolve why I can’t use the CDN properly.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey there @ponnuki,
This is certainly an interesting issue. For us to investigate this further, it’d be great if you could reach out to our support team with as much information regarding this issue as possible. Some useful information for the team to investigate this would be the full request & response headers for a failed request or a full HAR of the request.
You can get in touch with the team at https://cloudsupport.digitalocean.com/
Hope that helps! - Matt.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.