Skip to content

Instantly share code, notes, and snippets.

@regme
Last active November 20, 2018 18:29
Show Gist options
  • Save regme/b52cb1198cd9ead47f532b6e35636bdd to your computer and use it in GitHub Desktop.
Save regme/b52cb1198cd9ead47f532b6e35636bdd to your computer and use it in GitHub Desktop.
GZip
c:\windows\system32\inetsrv\AppCmd.exe set config -section:system.webServer/httpCompression /+"dynamicTypes.[mimeType='application/json',enabled='True']" /commit:apphost
c:\windows\system32\inetsrv\AppCmd.exe set config -section:system.webServer/httpCompression /+"dynamicTypes.[mimeType='application/json; charset=utf-8',enabled='True']" /commit:apphost
c:\windows\system32\inetsrv\AppCmd.exe set config -section:system.webServer/httpCompression /+"staticTypes.[mimeType='image/*',enabled='True']" /commit:apphost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment