Feature #61993
closedExclude Page CSS from Concatenation
100%
Description
Hey Folks,
I discovered that Page CSS from css_styled_content like .csc-space-before-20 { margin-top: 20px !important; } and so on is always concatenated with the other stylesheets which are included in the page.
This leads to nearly each Page has an individual CSS-File even if there is only one line different.
I dont think this is really perfomant because the browser has to download the whole file on each page.
Excluding the Page CSS from concatenation solves this issue because the majority of css is in one file which can be cached by the browser. If there is any Page Css it is in a tiny secondary file.
I know there is the setting config.inlineStyle2TempFile which could solve this issue too, but having all the inline styles in the header of the page is neither necessary nor very pretty.
So i came up with a new Setting config.concatenateCss.excludePageCss = 1 which solves this issue for me.
I push my solution to the review server.
Thanks, Thomas
Updated by Gerrit Code Review about 10 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/33098
Updated by Gerrit Code Review over 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33098
Updated by Gerrit Code Review over 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33098
Updated by Gerrit Code Review over 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33098
Updated by Susanne Moog over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b62a10ab1d12e8f234f0c6f1ea6142c90b5e80a2.