GZip compression is a simple, effective way to save bandwidth and speed up your site. For anybody still using IIS6 here is a simple walkthrough of the steps required to enable it.
Before we go further it is worthwhile to check if compression is currently turned on. A simple way of doing this is to our website through the compression check utility from the "port80.com" website. This will not only tell us if our website is using compression, but also how much your content is being compressed when you turn it on.
The utility can be found at http://www.port80software.com/tools/compresscheck.asp
Login to your server and complete the following actions
The next steps involves editing the metabase.cml file. This is an important file so we first make a backup in case we break something.
Now we have the file backed up we need to edit the section in it dealing with the compression scheme.
This last step only applies is you are running coldfusion. In the code above is a line labelled "HcScriptFileExtensions" which lists 6 extension types dealing with asp, php etc. In order to run compression on coldfusion files add the following extensions to the list, "cfml, cfm".
HcScriptFileExtensions="aspx
asmx
asbx
ashx
axd
php
cfm
cfml"
Repeat the steps outlined in step 2, only this time select start. Once IIS is restarted check one of the hosted site using the compression checker utility mention in step 1.
Thats it, you should now be sending gzip compressed web pages.