Back to Devexpress

Resource Compression

aspnetbootstrap-120365-project-configuration-web-config-options-resource-compression.md

latest880 B
Original Source

Resource Compression

  • May 17, 2019

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

You should register the DevExpress Web.config section to apply these settings to your project.

This option is enabled by default.

DevExpress configuration section

Corresponding Class

CompressionConfigurationSection