IIS Gzip Compression Steps

Microsoft IIS

HTTP compression is required to use bandwidth more efficiently and to enhance the performance of sites http calls.
For low bandwidth connections like VPN and dial-up modems, compressing static or dynamic content helps with faster download times and user experience.

Here we will discuss about compression in two IIS versions.

1. IIS 6.x
2. IIS 7.x

Enable compression in IIS 6.x
——————————————–

– Start the IIS Internet Service Manager

Start > All Programs > Administrative Tools > Internet Information services (IIS) Manager

– In the left panel of the Service Manager, Right-click the Internet Information Services folder and then click Properties.

IIS Website Properties
– Click the Service tab, and in the HTTP compression section, select the Compress static files check box to enable compression for static files.

IIS Website Properties Service

 

– In the Temporary directory box, type the path to a local directory or click Browse to locate a directory. Once a static file is compressed, it is cached in this temporary directory until it expires, or the content changes.

5. Under Maximum temporary directory size, click a folder size option, specify a maximum size under Limited to (in MB) , so when the limit is reached, IIS automatically cleans up the temporary directory by applying the “least recently used” rule

6. Click Apply, and then click OK.

Enable compression in IIS 7.x
—————————————–

– Start the IIS Internet Service Manager
Start > Programs > Administrative Tools > Internet Information services (IIS) Manager

– In the left panel of the Service Manager, select the website you want to modify.

– In Features View, double-click Compression.

– On the Compression page, by default Enable static content compression is checked out.

IIS7 HTTP Compression

 

– If not check out the Enable static content compression check box and Click Apply in the Actions pane.

In case of any ┬ęCopyright or missing credits issue please check CopyRights page for faster resolutions.

Leave a Reply