IIS7 Compression

Posted by Thomas on Server Fault See other posts from Server Fault or by Thomas
Published on 2009-09-01T14:35:34Z Indexed on 2010/04/06 2:03 UTC
Read the original article Hit count: 604

Filed under:
|

Hi Guys,

I have searched around and havent really found an answer anywhere and this is still not working for me. I am using compression in IIS7 and it doesn't appear to be working. The code I am using is per

<urlCompression
      doStaticCompression="true" />
    <httpCompression 
      cacheControlHeader="max-age=86400"
      sendCacheHeaders="true"
      expiresHeader="true"
      minFileSizeForComp="0"
      directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
      <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" />
      <staticTypes>
        <add mimeType="text/*" enabled="true" />
        <add mimeType="message/*" enabled="true" />
        <add mimeType="application/javascript" enabled="true" />
        <add mimeType="*/*" enabled="false" />
      </staticTypes>
    </httpCompression>

However my content is still not being gzipped ? Any ideas why this is happening ?

Cheers

© Server Fault or respective owner

Related posts about iis7

Related posts about compression