Thursday, September 5, 2013

How To Compress the application in asp.net?

<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"/>

<add mimeType="image/gif" enabled="true"/>

<add mimeType="image/jpeg" enabled="false"/>

<add mimeType="image/pjpeg" enabled="true"/>

<add mimeType="image/png" enabled="true"/>

<add mimeType="image/x-png" enabled="true"/>

<add mimeType="image/bmp" enabled="true"/>

<add mimeType="image/x-wmf" enabled="true"/>

<add mimeType="video/mpeg" enabled="true"/>

</dynamicTypes>

<staticTypes>

<add mimeType="text/*" enabled="true"/>

<add mimeType="message/*" enabled="true"/>

<add mimeType="application/javascript" enabled="true"/>

<add mimeType="*/*" enabled="false"/>

<add mimeType="image/gif" enabled="true"/>

<add mimeType="image/jpeg" enabled="false"/>

<add mimeType="image/pjpeg" enabled="true"/>

<add mimeType="image/png" enabled="true"/>

<add mimeType="image/x-png" enabled="true"/>

<add mimeType="image/bmp" enabled="true"/>

<add mimeType="image/x-wmf" enabled="true"/>

<add mimeType="video/mpeg" enabled="true"/>

</staticTypes>

</httpCompression>

<urlCompression doStaticCompression="true" doDynamicCompression="true"/>

No comments:

Post a Comment