Created
December 17, 2015 17:26
-
-
Save Wesley-Lomax/0346229b5097509d12fe to your computer and use it in GitHub Desktop.
Static and Dynamic compression for IIS - C:\Windows\System32\inetsrv\Config\applicationHost.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files" | |
staticCompressionDisableCpuUsage="95" staticCompressionEnableCpuUsage="60" | |
dynamicCompressionDisableCpuUsage="95" dynamicCompressionEnableCpuUsage="50"> | |
<scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" staticCompressionLevel="9" /> | |
<dynamicTypes> | |
<add mimeType="text/*" enabled="true" /> | |
<add mimeType="message/*" enabled="true" /> | |
<add mimeType="application/x-javascript" enabled="true" /> | |
<add mimeType="application/javascript" enabled="true" /> | |
<add mimeType="application/javascript; charset=utf-8" enabled="true" /> | |
<add mimeType="*/*" enabled="false" /> | |
<add mimeType="application/json" enabled="true" /> | |
<add mimeType="application/json; charset=utf-8" enabled="true" /> | |
</dynamicTypes> | |
<staticTypes> | |
<add mimeType="text/*" enabled="true" /> | |
<add mimeType="message/*" enabled="true" /> | |
<add mimeType="application/x-javascript" enabled="true" /> | |
<add mimeType="application/javascript" enabled="true" /> | |
<add mimeType="application/javascript; charset=utf-8" enabled="true" /> | |
<add mimeType="application/atom+xml" enabled="true" /> | |
<add mimeType="application/xaml+xml" enabled="true" /> | |
<add mimeType="application/json" enabled="true" /> | |
<add mimeType="application/json; charset=utf-8" enabled="true" /> | |
<add mimeType="*/*" enabled="false" /> | |
</staticTypes> | |
</httpCompression> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment