Enabling Gzip Compression On IIS 6 - page 3

Author: Steven Neiland
Published:

Warning: This blog entry was written two or more years ago. Therefore, it may contain broken links, out-dated or misleading content, or information that is just plain wrong. Please read on with caution.

Step 5: Coldfusion Extensions

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"

Step 6: Restart IIS

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.

1 2 3

Related Blog Postings

Reader Comments

  • Please keep comments on-topic.
  • Please do not post unrelated questions or large chunks of code.
  • Please do not engage in flaming/abusive behaviour.
  • Comments that contain advertisments or appear to be created for the purpose of link building, will not be published.

Archives Blog Listing