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

What Do You Think?

Reader Comments

Post a Comment

Comment Etiquette:

  • 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 or appear to be advertisments, will not be published.
  • Comments that appear to be created for the purpose of linkbuilding to commercial sites will be removed.

We are all adults here so play nice.

*
*



Archives Blog Listing

Tag Listing

Learn CF In A Week

Treehouse

 
Fork me on GitHub