Created
January 11, 2015 10:33
-
-
Save martin-brennan/5bda08de3c269c63566a to your computer and use it in GitHub Desktop.
iis gzip compression
This file contains hidden or 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
cd %PROGRAMFILES%IIS Express | |
appcmd set config -section:urlCompression /doDynamicCompression:true | |
appcmd set config /section:staticContent /+[fileExtension='.json',mimeType='application/json'] | |
appcmd.exe set config -section:system.webServer/httpCompression /+"dynamicTypes.[mimeType='application/json',enabled='True']" /commit:apphost |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment