I work on a large Drupal-based project and recently started having issues in IE, specifically:

- IE will not process CSS files larger than 288 kb
- IE will stop processing selectors in a CSS file after the first 4095 selectors

It would be useful if advagg kept these limitations in mind and allowed users to split css aggregation into groups (module, theme) the way D7 handles css out of the box.

Thank for all your work, this is a great module.

Comments

mikeytown2’s picture

I would checkout the bundler submodule. The ability to do what your asking for can be done, it just hasn't been done to account for IE's limitations. The quick and dirty way to do this would be to implement hook_advagg_bundler_analysis_alter.

malcomio’s picture

Component: CSS Compression » Code
Issue summary: View changes
Status: Active » Closed (duplicate)

See #1983728: Limit CSS selector count to 4095 for this issue, including a patch.

malcomio’s picture