How can I disable br/zstd compression for my domain?

What is the name of the domain?

What is the error message?

Uncaught SyntaxError: Unexpected end of input (at

What is the issue you’re encountering

I’m currently experiencing issues with zstd compression being applied to JavaScript files on my site. This results in broken scripts and Unexpected end of input errors in the browser.

What steps have you taken to resolve the issue?

What is the proper way to fully disable zstd compression for my domain?

Zstd should not be causing any issues, checking your site though is throwing 500s at the origin which seems to be Netlify


I’d recommend checking on that side for issues. This 500 was not compressed at all.

1 Like

Thank you for your response!

You’re right — the 500 error was happening temporarily when the Cloudflare proxy was disabled for testing. I’ve re-enabled the proxy now, and the site is working correctly.

That said, the issue I’m still facing is that JavaScript files are being served with zstd compression from Cloudflare, which breaks our Nuxt.js app with Unexpected end of input errors in the browser.

Even when using a Worker to rewrite Accept-Encoding to only allow gzip, deflate, Cloudflare still seems to apply zstd at the edge level.

This topic was automatically closed after 15 days. New replies are no longer allowed.