Skip to main content

Resource Merging

This option investigates whether or not resources (script and CSS files) from different assemblies are combined in the following manner, to be sent to the client. All scripts that are required by the requested page are combined in one file and all required CSS files are merged in one file. This feature helps reduce the number of requests to the server.

Declaration

<configuration>
    ...
    <devExpress>
        <compression ... enableResourceMerging="true" ... />
        ...
    </devExpress>
    ...
</configuration>

Note

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

This option is enabled by default.

Enabling this option might make sense if your web application has either certain web pages that use different DevExpress web controls or other pages that use the same set of DevExpress web controls.

DevExpress configuration section

Corresponding Class

CompressionConfigurationSection