Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

migrated from stackoverflow.com Jul 27 '11 at 11:46

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

1 Answer

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: http://www.port80software.com/. Use that to confirm for sure that it's not compressing.

share|improve this answer
add comment

Your Answer

 
discard

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