[compression] How to enable GZIP compression in IIS 7.5

GZip Compression can be enabled directly through IIS.

First, open up IIS,

go to the website you are hoping to tweak and hit the Compression page. If Gzip is not installed, you will see something like the following:

iis-gzip

“The dynamic content compression module is not installed.” We should fix this. So we go to the “Turn Windows features on or off” and select “Dynamic Content Compression” and click the OK button.

Now if we go back to IIS, we should see that the compression page has changed. At this point we need to make sure the dynamic compression checkbox is checked and we’re good to go. Compression is enabled and our dynamic content will be Gzipped.

Testing - Check if GZIP Compression is Enabled

To test whether compression is working or not, use the developer tools in Chrome or Firebug for Firefox and ensure the HTTP response header is set:

Content-Encoding: gzip

Examples related to compression

• Image steganography that could survive jpeg compression • How to enable GZIP compression in IIS 7.5 • Create a .tar.bz2 file Linux • How are zlib, gzip and zip related? What do they have in common and how are they different? • Create a tar.xz in one command • Creating a ZIP archive in memory using System.IO.Compression • How to compress an image via Javascript in the browser? • How to reduce the image size without losing quality in PHP • How to send a compressed archive that contains executables so that Google's attachment filter won't reject it • How to reduce the image file size using PIL

Examples related to gzip

• gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now • How to unzip gz file using Python • How to enable GZIP compression in IIS 7.5 • Using GZIP compression with Spring Boot/MVC/JavaConfig with RESTful • How are zlib, gzip and zip related? What do they have in common and how are they different? • How to uncompress a tar.gz in another directory • compression and decompression of string data in java • Extract and delete all .gz in a directory- Linux • How to extract filename.tar.gz file • Read from a gzip file in python

Examples related to web-config

• No assembly found containing an OwinStartupAttribute Error • IIS Config Error - This configuration section cannot be used at this path • How to enable GZIP compression in IIS 7.5 • how to set start page in webconfig file in asp.net c# • Authentication issue when debugging in VS2013 - iis express • Forms authentication timeout vs sessionState timeout • Specified argument was out of the range of valid values. Parameter name: site • Access-control-allow-origin with multiple domains • "An exception occurred while processing your request. Additionally, another exception occurred while executing the custom error page..." • ASP.NET: HTTP Error 500.19 – Internal Server Error 0x8007000d