Reputation: 13357
Is their anyway to make httpCompression work from inside web.config ?
i try to add this in my web.config but it's does nothing :
<httpCompression>
<dynamicTypes>
<clear />
<add mimeType="text/*" enabled="true" />
<add mimeType="application/json" enabled="true" />
<add mimeType="application/javascript" enabled="true" />
<add mimeType="*/*" enabled="false" />
</dynamicTypes>
<staticTypes>
<clear />
<add mimeType="text/*" enabled="true" />
<add mimeType="application/javascript" enabled="true" />
<add mimeType="*/*" enabled="false" />
</staticTypes>
</httpCompression>
Upvotes: 5
Views: 4326
Reputation: 63183
Overriding compression related settings in web.config
is considered a new addition in IIS 10,
So to answer your question, you have to upgrade to IIS 10.
Upvotes: 6