Created
September 18, 2013 03:13
-
-
Save 5iDS/6604045 to your computer and use it in GitHub Desktop.
enable GZIP compression through Web.config file
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
<system.webServer> | |
<httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files"> | |
<scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll"/> | |
<dynamicTypes> | |
<add mimeType="text/*" enabled="true"/> | |
<add mimeType="message/*" enabled="true"/> | |
<add mimeType="application/javascript" enabled="true"/> | |
<add mimeType="*/*" enabled="false"/> | |
</dynamicTypes> | |
<staticTypes> | |
<add mimeType="text/*" enabled="true"/> | |
<add mimeType="message/*" enabled="true"/> | |
<add mimeType="application/javascript" enabled="true"/> | |
<add mimeType="*/*" enabled="false"/> | |
</staticTypes> | |
</httpCompression> | |
<urlCompression doStaticCompression="true" doDynamicCompression="true"/> | |
</system.webServer> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment