Change record status: 
Project: 
Introduced in branch: 
main
Introduced in version: 
13.0.0
Description: 

When defining assets in a library definition it is possible to set preprocess: false to exclude a library from aggregation. While this continues to supported, a file excluded from aggregation should not be placed in the middle of files that will be aggregated, e.g. it should either be at the beginning, or the end, of the list of files. When more than one file is excluded from aggregation, this is fine as long as all files are at the beginning and/or end of the library definition.

This restriction has been added so that the conditions that result in files being placed in specific aggregates are simplified, allowing for higher cache hit rates for browsers and CDNs for aggregated assets.

If the placement of a non-aggregated file between aggregated files is important, the same ordering can be achieved by using two library definitions and a dependency between them.

Impacts: 
Module developers
Themers