Serving .unityweb files with brotli compression

Hello Cloudflare community,

I’m looking for a way to tell Cloudflare to use brotli compression on files that end in .unityweb. Is that even possible? This is so that brotli compression is applied to the html5/javascript output from Unity (version 2019.1b5)

In apache you could add an .htaccess file like this:

AddEncoding br .unityweb

Is there an equivalent in Cloudflare or some workaround where I set the content-type on the file potentially?

Thanks in advance for any help.

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