I removed mimeType = "application / x-javascript" from dynamicTypes, but left it in staticTypes. This allowed me to disable dynamicCompression, but javascript is still compressed.
I read several posts that suggest that having the same mimeType in dynamic and static values ββin dynamic wins. When dynamicCompression is turned off, but there is a match in the dynamic type, javascript is treated as dynamic and therefore turned off.
This does not explain why CSS works because mimeType = "text /" is in both places. IIS should be better at defining dynamic or static content when it comes to CSS, or any text.
Jappi source share