Skip to main content

Page HTML Compression

This option specifies whether the requested web page’s HTML code should be compressed by the server before posting it to the client.

Declaration

<configuration>
    ...
    <devExpress>
        <compression enableHtmlCompression="false" ... />
        ...
    </devExpress>
    ...
</configuration>

Note

In order to use the DevExpress Web.config section, register this section group beforehand.

This option is disabled by default. If the enableHtmlCompression property is set to true, the HTML Compression is applied both to postbacks and callback requests. If you need to enable only callbacks compression, set this property to false, and the enableCallbackCompression property to true.

Note, that this option should not be used when compression is enabled at the IIS level.

DevExpress configuration section

Corresponding Class

CompressionConfigurationSection