Enabling HTTP Compression In Windows Hosting




In your web.config file, add the following line of code to enable HTTP compression:

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



Cette réponse était-elle pertinente?

 Imprimer cet article

Consultez aussi

"Connection timed out" error when using Web Deploy

If you experience a "Connection timed out" error when using WebMatrix, Visual Studio, etc., it is...

Cannot access WebAdmin in Plesk

In order to use the WebAdmin, your domain name is required to connect.   If you are not...

Where can I get WebMatrix?

You can download WebMatrix for free:   http://www.microsoft.com/web/webmatrix/

Using URL Rewrite on Windows Hosting

Rewrite rules should be placed in your web.config file.    An example rule to redirect from...