Skip to content

Commit d0a7544

Browse files
committed
[!!!][TASK] Remove FE asset concatenation and compression
Related: TYPO3-Documentation/Changelog-To-Doc#1449 Releases: main
1 parent 401ad07 commit d0a7544

File tree

7 files changed

+13
-22
lines changed

7 files changed

+13
-22
lines changed

Documentation/Administration/DirectoryStructure/Index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,9 @@ for temporary files of extensions and TYPO3 components.
265265
:path:`public/typo3temp/assets/`
266266
""""""""""""""""""""""""""""""""
267267

268-
The directory :path:`typo3temp/assets/` contains temporary files that should be
269-
public available. This includes generated images and compressed CSS and
270-
JavaScript files.
268+
The directory :path:`typo3temp/assets/` contains temporary files that must be
269+
publicly accessible. This includes generated images and other temporary
270+
frontend assets created by the TYPO3 Core.
271271

272272
.. _directory-var:
273273

Documentation/Administration/Installation/SystemRequirements/Index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ Optional but commonly used:
7777
* `fileinfo` – for detecting uploaded file types
7878
* `gd` – for image generation and scaling
7979
* `zip` – for language packs and extension archives
80-
* `zlib` – for output compression
8180
* `openssl` – for encrypted SMTP mail delivery
8281

8382
.. _system-requirements-php-database-extensions:

Documentation/ApiOverview/Assets/Index.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,15 @@ Introduction
2020
The TYPO3 component responsible for rendering the HTML and adding assets to a
2121
TYPO3 frontend or backend page is called :php:`\TYPO3\CMS\Core\Page\PageRenderer`.
2222

23-
The :php:`PageRenderer` collects all assets to be rendered, takes care of
24-
options such as concatenation or compression and finally generates the necessary
25-
tags.
23+
The :php-short:`\TYPO3\CMS\Core\Page\PageRenderer` collects all assets to
24+
be rendered and finally generates the necessary tags.
25+
26+
.. versionchanged:: 14.0
27+
28+
TYPO3 no longer supports frontend asset concatenation or
29+
pre-compression in the core. The :php:`PageRenderer` therefore does not
30+
concatenate or pre-compress CSS and JavaScript files in TYPO3 v14. See
31+
:ref:`frontend-asset-concat-compress-not-supported`.
2632

2733
There are multiple ways to add assets to the :php:`PageRenderer` in TYPO3.
2834
For configuration options via TypoScript (usually used for the main theme files),

Documentation/ApiOverview/Debugging/Index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ If :doc:`EXT:lowlevel <ext_lowlevel:Index>` is installed, the name of the
4444
database table or field is appended to the select options in the
4545
:guilabel:`System > Database > Full Search` module.
4646

47-
Additionally, in debug mode, the page renderer does not compress or concatenate
48-
JavaScript or CSS resources.
49-
50-
5147
.. _examples-debug-utility:
5248

5349

Documentation/Configuration/Typo3ConfVars/FE.rst

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,18 +64,12 @@ the TYPO3 frontend:
6464
:Default: 0
6565
:Range: 0-9
6666

67-
Defines the compression level used for **frontend resource pre-compression**
68-
(JavaScript and CSS files) when combined with the TypoScript settings
69-
`config.compressJs <https://docs.typo3.org/permalink/t3tsref:confval-config-compressjs>`_
70-
and `compressCss <https://docs.typo3.org/permalink/t3tsref:confval-config-compresscss>`_.
71-
7267
.. versionchanged:: 14.0
7368

7469
Frontend HTTP response compression has been removed. Response compression
7570
should be applied by web servers and not by the application layer.
7671

77-
See also: `Breaking: #107943 - Frontend and backend HTTP response
78-
compression removed <https://docs.typo3.org/permalink/changelog:breaking-107943-1761860828>`_
72+
See also: `Breaking: #108055 - Removed frontend asset concatenation and compression <https://docs.typo3.org/permalink/changelog:breaking-108055-1762346705>`_.
7973

8074
.. _typo3ConfVars_fe_pageNotFoundOnCHashError:
8175

Documentation/Security/GuidelinesAdministrators/_codesnippets/_nginx.config

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ server {
9999

100100
# Compressing resource files will save bandwidth and so improve loading speed especially for users
101101
# with slower internet connections. TYPO3 can compress the .js and .css files for you.
102-
# *) Set the TypoScript properties
103-
# config.compressJs and config.compressCss for GZIP compression of Frontend JS and CSS files.
104102
location ~ \.js\.gzip$ {
105103
add_header Content-Encoding gzip;
106104
gzip off;

Documentation/Security/GuidelinesIntegrators/Typoscript.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,6 @@ A typical example in TypoScript looks like:
172172
includeJS {
173173
jQuery = https://code.jquery.com/jquery-1.11.3.min.js
174174
jQuery.external = 1
175-
jQuery.disableCompression = 1
176-
jQuery.excludeFromConcatenation = 1
177175
jQuery.integrity = sha256-7LkWEzqTdpEfELxcZZlS6wAx5Ff13zZ83lYO2/ujj7g=
178176
}
179177
}

0 commit comments

Comments
 (0)