Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to enable HTTP compression to my web site, my server is running Windows 2008R2 and IIS 7.5.

I followed these steps:

  1. installed static and dynamic compression through the Serve manager.
  2. Enable both static and dynamic option under my web site (mySite-Compression).

In my web.config file I have included:

<urlCompression doDynamicCompression="true"  doStaticCompression="true"/> 

When I checked my page headers the page's are not compressed.

What am I doing wrong?

share|improve this question

migrated from Jul 27 '11 at 11:46

This question came from our site for professional and enthusiast programmers.

You've completed the correct steps. It may be the test that is giving a false positive. If your test software doesn't accept compression then the web server won't offer compression.

A good web test can be found on the homepage of: Use that to confirm for sure that it's not compressing.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.