Review main Merged

73041[FEATURE] Add centralized way to load PageTsConfig

Benni Mack CR +2 V +2 Hard +264 −232 updated 01/21/22, 21:33

Commit message

This change adds a new way to load globally defined
PageTsConfig which was previously handled
via "ExtensionManagementUtility::addPageTSConfig"
and "TYPO3_CONF_VARS[SYS][defaultPageTSconfig]".

This change now checks all extensions for
Configuration/page.tsconfig files and
caches the contents of the files in the Core Cache.

Benefits:
* The contents of these files are now cached in core.cache
* No explicit configuration of such files anymore
* Smaller TYPO3_CONF_VARS footprint
* Loading of files reduces file i/o for each request when accessing PageTS
* Autowiring from DI Service Provider possible

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 29