Bug #87444

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

Added by corbet dynie 3 months ago.

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

0%

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

Related to TYPO3 Core - Bug #86982: JS async not working Needs Feedback 2018-11-23

History

#1 Updated by Riccardo De Contardi 3 months ago

  • Related to Bug #86982: JS async not working added

Also available in: Atom PDF