Coldfusion and HTTP Compression on IIS6?

I just asked my web host to enable HTTP Compression (running IIS6)...  The few .htm files I have became super optimized. (Almost 70% smaller!)  I wasn't aware that it wouldn't affect .cfm files though.  Is there anything I can do about that?  That would be amazing if I could get all the coldfusion pages optimized that highly...   Thank you!

SmileMagician  :)
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

If compression is enabled for .cfm files, they will be compressed by IIS, when CF dumps results to a compression-enabled browser.
To enable compression see MSDN docs (extract is below):

Edit the Metabase
WARNING: If you edit the metabase incorrectly, you can cause serious problems that may require you to reinstall any product that uses the metabase. Microsoft cannot guarantee that problems that result if you incorrectly edit the metabase can be solved. Edit the metabase at your own risk.

NOTE: Always back up the metabase before you edit it.

To enable IIS 5.0 to compress .aspx (.CFM) pages, follow these steps:
Open a command prompt.
Type net stop iisadmin, and then press ENTER.
Type cd C:\InetPub\adminscripts, and then press ENTER.
Type the following, and then press ENTER:
CSCRIPT.EXE ADSUTIL.VBS SET W3Svc/Filters/Compression/GZIP/HcScriptFileExtensions "asp" "dll" "exe" "aspx"  "CFM"

Type the following, and then press ENTER:
CSCRIPT.EXE ADSUTIL.VBS SET W3Svc/Filters/Compression/DEFLATE/HcScriptFileExtensions "asp" "dll" "exe" "aspx" "CFM"

Type net start w3svc, and then press ENTER.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SmileMagicianAuthor Commented:
Thank you very much!  That was exactly what I needed.  I just wasn't aware we had to actually set the extensions to be compressed...

SmileMagician  :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.