[FEATURE] Load merged JS files asynchronous 30/57130/7
authorRune Piper <kontakt@runepiper.de>
Wed, 6 Jun 2018 07:22:21 +0000 (09:22 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 15 Jun 2018 13:18:56 +0000 (15:18 +0200)
commit09576ce717d62173cd49d44ac3611550fabb3314
tree49ec308f7166b9fa79f779dbdbc3567fab002c55
parent00439ea6b56321899a52253564052764e2fa3cba
[FEATURE] Load merged JS files asynchronous

The async attribute is now assigned to the script tag of the concatenated
JS files if all files have the async attribute enabled in TypoScript.

Resolves: #83476
Releases: master
Change-Id: If4d5f03cac5920cf0bcccefb2e91cc229f9b9e77
Reviewed-on: https://review.typo3.org/57130
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Resource/ResourceCompressor.php
typo3/sysext/core/Documentation/Changelog/master/Feature-83476-LoadMergedJSFilesAsynchronous.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest.php