Saturday, April 20, 2019
Sign-In  |  Sign-Up  |  Contact Us  | Bookmark |  RSS Feed

IIS Compression  
IIS compression plays vital role in making your ASP.NET applications hosted on IIS run faster. This is one of those features people often overlook when optimizing their websites. IIS Compression can be applied to HTML, CSS and JavaScript files. You can reduce size of these types of file as much as 70% if IIS compression applied in a proper way.

There are several reasons as to why you would want to compress files. First, you reduce server bandwidth. Second, client receives content from your web server more quickly. Finally, client receives more content per second.

However, as with everything in life advantage comes with cost. IIS compression requires more disk and RAM space; it utilizes CPU while compressing files; additional configuration settings are required.

Enabling Compression requires that you have dynamic compression role service in your IIS enabled. It is usually enabled by default IIS installation process.

Step #1

Double click on IIS Compression role in order to start this up.

IIS Compression Start

Step #2

You will see compression configuration panel with such options available to you as Enable Dynamic Content Compression, Enable Static Content Compression, Cache Directory and Per Application pool Disk Space Limit.

IIS Compression

Step #3

Server side compression applies to all of the websites on the server. However, you may need to apply different types of Compression for each individual websites. I would recommend applying Static Compressions at server level and Dynamic Compression for individual sites. When you set IIS Compression, you effectively modifying C:\Windows\System32\inetsrv\config\applicationHost.config file.

IIS Compression Website

IIS Compression has to be used properly in order not to overtax your server CPU. It does take up your CPU time when you enable IIS Compression and it is recommended to enable it for the content which is not dynamically generate but rather static in nature. For instance CSS files are good candidates for IIS Compression.
Print IIS Compression Bookmark IIS Compression

Related Articles  
Transform Manager 1.0 Beta - IIS Extension
Transform Manager is a Microsoft media of extensible property which has proprietary media transform engine which ...
IIS Windows Media Services 2008
Microsoft Windows Media Services 2008 is a downloadable service extension platformed to work over all Windows Server ...
Uninstall IIS using Package Manager
You can user two methods to remove IIS 7.0 from your server. One is to use Package Manager and second is to use ...