Back to Devexpress

Resource Compression

aspnet-6913-common-concepts-webconfig-modifications-webconfig-options-resource-compression.md

latest882 B
Original Source

Resource Compression

  • Oct 06, 2023

This option specifies whether resources (script and CSS files) are compressed by the server before being posted to the client. The resources are compressed by a factor of 4 or 5 to about 20% of the file’s original size.

Declaration

xml
<configuration>
    ...
    <devExpress>
        <compression ... enableResourceCompression="true" ... />
        ...
    </devExpress>
    ...
</configuration>

Note

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

This option is enabled by default.

DevExpress configuration section

Corresponding Class

CompressionConfigurationSection