Project

General

Profile

Actions

Bug #87444

closed

'config.concatenateJs = 1' async feature does not work

Added by corbet dynie over 5 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2019-01-15
Due date:
% Done:

0%

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

Description

According to the the feature:
https://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Config/Index.html#concatenatejs
'If all files to be concatenated are marked with the async flag, the async attribute is assigned to the script tag.'

If you use spamProtectEmailAddresses with an integer, a javascript file will created, but you can not define properties like async or defer.
So 'config.concatenateJs = 1' will not work at all.

Does it make sense to add the property defer to the concatenated files too?


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #86982: JS async not workingClosed2018-11-23

Actions
Related to TYPO3 Core - Bug #90208: includeJS + defer does not work if the ResourceCompressor has done its job Closed2020-01-26

Actions
Actions

Also available in: Atom PDF