vishal singh

vishal singh

  • NA
  • 55
  • 16.8k

gzip compression not getting enable

Aug 5 2016 4:32 AM
I have a code for enabling gzip compression but when i place code given below in my config file its not compressing when i test my site in google page speed test it still showing that compression not enable
 wats the problem suggest my frirends
Code is  IIS version 7.5  Godaddy dedicated server
<system.webServer>
<httpCompression directory="%SystemDrive%\inetpub\
temp\IIS Temporary Compressed Files">
<scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll"/>
<dynamicTypes>
<add mimeType="text/*" enabled="true"/>
<add mimeType="message/*" enabled="true"/>
<add mimeType="application/javascript" enabled="true"/>
<add mimeType="*/*" enabled="false"/>
</dynamicTypes>
<staticTypes>
<add mimeType="text/*" enabled="true"/>
<add mimeType="message/*" enabled="true"/>
<add mimeType="application/javascript" enabled="true"/>
<add mimeType="*/*" enabled="false"/>
</staticTypes>
</httpCompression>
<urlCompression doStaticCompression="true" doDynamicCompression="true"/>
</system.webServer>
 

Answers (3)