title: GZIP CSS and Javascript files in IIS
body: <p>I'm trying to deliver to the browser the Compressed &amp; Gzipped version of my javascript files using coldfusion.</p>
  
  <p>I've tried to add the following to the web.config but still not showing GZIP (using Fiddler)</p>
  
  <pre><code>&lt;httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files"&gt;
      &lt;scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll"/&gt;
      &lt;dynamicTypes&gt;
        &lt;add mimeType="text/*" enabled="true"/&gt;
        &lt;add mimeType="message/*" enabled="true"/&gt;
        &lt;add mimeType="application/javascript" enabled="true"/&gt;
        &lt;add mimeType="*/*" enabled="false"/&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/javascript" enabled="true"/&gt;
        &lt;add mimeType="*/*" enabled="false"/&gt;
      &lt;/staticTypes&gt;
    &lt;/httpCompression&gt;
    &lt;urlCompression doStaticCompression="true" doDynamicCompression="true"/&gt;
  </code></pre>