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

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

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