title: gzip compression on iis 7.5 using web.config file
body: <p>I have hosted website in bizspark shared server on IIS, because of this i don't have access to iis manager on hosting server on bizspark.
  So I need to do gzip compression settings through web.config file but it is not getiing integrated on website.</p>
  
  <p>I have tried below settings ,but issue not fixed </p>
  
  <pre><code>&lt;httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files"&gt;
    &lt;scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" staticCompressionLevel="4"/&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="application/json" enabled="true" /&gt;
      &lt;add mimeType="image/jpeg" enabled="true" /&gt; 
        &lt;add mimeType="image/jpg" enabled="true" /&gt; 
         &lt;add mimeType="image/png" 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/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="image/jpeg" enabled="true" /&gt; 
        &lt;add mimeType="image/jpg" enabled="true" /&gt; 
         &lt;add mimeType="image/png" enabled="true" /&gt; 
      &lt;add mimeType="*/*" enabled="false" /&gt;
    &lt;/staticTypes&gt;
  &lt;/httpCompression&gt;
  &lt;urlCompression doStaticCompression="true" doDynamicCompression="true" /&gt;
  </code></pre>