Bug #63490
closed
After concatenating and compressing CSS the resulting file may be too large for IE9
Added by Jigal van Hemert over 9 years ago.
Updated about 8 years ago.
Description
Internet Explorer 9 and lower have a limitation for maximum 4095 selectors per file and maximum 30 files per page.
https://github.com/dlundgren/php-css-splitter can help with automatically splitting the resulting file to stay within these limits both in FE and BE.
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/34895
In EXT:scriptmerger that topic was raised as well (#43221).
- Target version changed from 7.0 to 7.1 (Cleanup)
- Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
- Target version changed from 7.4 (Backend) to 7.5
- Target version changed from 7.5 to 7 LTS
I'm in contact with the author of the css splitter and he already made some modifications to prevent parsing the entire css on each call to a class function (and thus make the splitting process a lot faster). There is one thing that needs to be changed and then we can simply load it using composer. After this is finished upstream I'll adjust the patch.
- Status changed from Under Review to Closed
Consensus: not needed for BE as we can do this in SCSS/SASS/... processing. In FE only for legacy browsers (IE < 9) and now that MS has stopped support for these old browsers and is pushing their latest browsers, the market share of affected browsers will soon decline.
If it is absolutely needed someone could write an extension for it.
Also available in: Atom
PDF