Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
Start date:
2014-12-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #66921: Introduce bless for CSS splittingRejectedAndreas Kienast2015-05-12

Actions
Actions #1

Updated by Gerrit Code Review over 9 years ago

  • 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

Actions #3

Updated by Stefan Neufeind over 9 years ago

In EXT:scriptmerger that topic was raised as well (#43221).

Actions #4

Updated by Mathias Schreiber over 9 years ago

  • Target version changed from 7.0 to 7.1 (Cleanup)
Actions #5

Updated by Benni Mack almost 9 years ago

  • Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
Actions #6

Updated by Susanne Moog over 8 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #7

Updated by Benni Mack over 8 years ago

  • Target version changed from 7.5 to 7 LTS
Actions #8

Updated by Jigal van Hemert over 8 years ago

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.

Actions #9

Updated by Riccardo De Contardi over 8 years ago

  • Category set to Frontend

another interesting tool: https://github.com/giakki/uncss I don't know if it could be integrated

Actions #10

Updated by Gerrit Code Review about 8 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/34895

Actions #11

Updated by Jigal van Hemert about 8 years ago

  • 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.

Actions

Also available in: Atom PDF