title: Dynamic compression doesn't seem to be used in IIS 7.5
body: <p>I currently have both static and dynamic compression configured. The static compression is working, however the dynamic compression, when checked through YSlow and Fiddler, is not working.</p>
  
  <p>In my applicationHost.config, I have the following settings:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;urlCompression doStaticCompression="true" doDynamicCompression="true"
      dynamicCompressionBeforeCache="true" /&gt;
  &lt;httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files"
      maxDiskSpaceUsage="100" minFileSizeForComp="256"&gt;
      &lt;scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll"
          dynamicCompressionLevel="1" /&gt;
      &lt;dynamicTypes&gt;
          &lt;add mimeType="text/*" enabled="true" /&gt;
          &lt;add mimeType="message/*" enabled="true" /&gt;
          &lt;add mimeType="application/x-javascript" enabled="true" /&gt;
          &lt;add mimeType="*/*" enabled="true" /&gt;
      &lt;/dynamicTypes&gt;
      &lt;staticTypes&gt;
          &lt;add mimeType="text/*" enabled="true" /&gt;
          &lt;add mimeType="message/*" enabled="true" /&gt;
          &lt;add mimeType="application/x-javascript" enabled="true" /&gt;
          &lt;add mimeType="application/atom+xml" enabled="true" /&gt;
          &lt;add mimeType="application/xaml+xml" enabled="true" /&gt;
          &lt;add mimeType="*/*" enabled="true" /&gt;
      &lt;/staticTypes&gt;
  &lt;/httpCompression&gt;
  &lt;serverRuntime frequentHitThreshold="1" frequentHitTimePeriod="01:00:00" /&gt;
  </code></pre>
  
  <p>My web.config has:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;urlCompression doStaticCompression="true"
      doDynamicCompression="true" dynamicCompressionBeforeCache="true" /&gt;
  </code></pre>
  
  <p>The modules are installed, and when I use the Failed Request Trace, I get a couple dynamic compression hits, but nothing about success or failure. Just these types of results:</p>
  
  <pre><code>ModuleName DynamicCompressionModule 
  Notification 536870912 
  fIsPostNotification false 
  Notification SEND_RESPONSE 
  
  ModuleName DynamicCompressionModule 
  Notification 536870912 
  fIsPostNotificationEvent false 
  NotificationStatus 0 
  Notification SEND_RESPONSE 
  NotificationStatus NOTIFICATION_CONTINUE 
  
  ModuleName DynamicCompressionModule 
  Notification 256 
  fIsPostNotification true  
  Notification RELEASE_REQUEST_STATE 
  
  ModuleName DynamicCompressionModule 
  Notification 256 
  fIsPostNotificationEvent true 
  NotificationStatus 0 
  Notification RELEASE_REQUEST_STATE 
  NotificationStatus NOTIFICATION_CONTINUE 
  </code></pre>
  
  <p>I am trying to get my aspx files to compress. Any help would be appreciated. Thanks.</p>