IIS server isn't compressing unity files.
I enabled gzip compression in IIS and I added all the following MIME types:
<staticContent>
<remove fileExtension=".mem" />
<mimeMap fileExtension=".mem" mimeType="application/octet-stream" />
<remove fileExtension=".data" />
<mimeMap fileExtension=".data" mimeType="application/octet-stream" />
<mimeMap fileExtension=".memgz" mimeType="application/octet-stream" />
<mimeMap fileExtension=".jsgz" mimeType="application/x-javascript" />
<mimeMap fileExtension=".datagz" mimeType="application/octet-stream" />
<mimeMap fileExtension=".unity3d" mimeType="application/octet-stream" />
<mimeMap fileExtension=".unity3dgz" mimeType="application/octet-stream" />
</staticContent>
I still get this though. What am I doing wrong?
unity.png
(96.8 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612060030im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
I cant build WebGL 3 Answers
Wrong position when deploying as WebGL 0 Answers
Web GL Uncaught TypeError: str.charCodeAt is not a function 0 Answers
SpriteShapes not displaying for WebGl 1 Answer
Game in browser- but without WebGL 0 Answers