Last active
October 10, 2021 22:18
-
-
Save marcusx2/959908bccde199bf75eb2c39683bb37c to your computer and use it in GitHub Desktop.
custom headers for brotli compression on a Unity WebGL project hosted on Netlify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[headers]] | |
for = "/Build/*.data.br" | |
[headers.values] | |
Content-Encoding = "br" | |
Content-Type = "application/octet-stream" | |
[[headers]] | |
for = "/Build/*.wasm.br" | |
[headers.values] | |
Content-Encoding = "br" | |
Content-Type = "application/wasm" | |
[[headers]] | |
for = "/Build/*.js" | |
[headers.values] | |
Content-Encoding = "js" | |
Content-Type = "application/javascript" | |
[[headers]] | |
for = "/Build/*.js.br" | |
[headers.values] | |
Content-Encoding = "br" | |
Content-Type = "application/javascript" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment