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>
Nitin SontakkePosted Jul 20, 2016, 3:23 AM
You didn't mention the error.
Vishal SinghPosted Jul 20, 2016, 3:11 AM
Nitin SontakkePosted Jul 20, 2016, 2:58 AM
Youhaven't mentioned what error you are getting. Please also let us know the IIS version you are using.
Which browser are you using? Because your browser should also support the .gzip compression.It is a two way process. With request, browser informs the server that it is capable of decompressing if compressed data is sent.Server looks for this information and then sends the compressed data.