Vishal Singh

Vishal Singh

  • NA
  • 12
  • 8.9k

Gzip Compression Not getting not enable

Jul 20 2016 2:42 AM
i want improve my site speed when i m checking speed for google page speed test its showing me about to enable gzip compression but when i m using code given below to enable gzip compression its still showing me the same error whats the solution please tell me its urgent
 
<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)