Tried 2020.1.5 and 2020.2.0b2.
- Using Gzip compression couldnot load eventough using new apache mime rules .
- Disabled compression could load but getting the following from chrome :
- Using Brotli on 2020.2.0b2, same error.
Brotli and Gzip are throwing the same error when hosted remotely on Apache (not on localhost)
If hosted in nginx remotely i am managed to load the scene but there are errors in the Chrome/Firefox developer tools :
Nginx rules :
location ~* \.(wasm)$ {
add_header Content-Type application/wasm;
}
location ~* \.(data.gz|symbols.json.gz)$ {
add_header Content-Encoding gzip;
add_header Content-Type application/octet-stream;
}
location ~* \.(wasm.gz)$ {
add_header Content-Encoding gzip;
add_header Content-Type application/wasm;
}
location ~* \.(js.gz)$ {
add_header Content-Encoding gzip;
add_header Content-Type application/javascript;
}