As you may know, Unity WebGL will write an invisible .htaccess file into the Release folder of builds in order to instruct the web server to host the build files using gzip compression on the http transfer level, allowing browsers to decompress the data while downloading.
In 5.3, Unity will fall back to decompressing gzip in JavaScript if the server setup does not work, so you will always get compressed transfers, but you may have a few hundred ms of extra decompression time after the download if decompression is not handled by the protocol. Which means that having the server configured to handle compression is no longer a hard requirement for shipping anything, but is more like a minor optimization you can take.
Now, I have seen plenty of threads now (and in the past) about the default .htaccess file we provide causing problems with many web servers and requiring changes. Now Iām wondering what to do here. Given that there are endless different web server configurations out there, it is very hard to come up with a configuration which will work everywhere. Given that 5.3 will give decent results using itās fallback JavaScript compression, I am wondering if we should just stop supplying a .htaccess file to avoid such issues - and when people want to benefit from http-level compression, they can set up such a file themselves.
In order to make such a decision, Iād like to figure out how many people are having such problems. Is it a vocal minority on this forum, or most users, or somewhere in between? So, please comment on this thread and/or use the attached poll.