[TASK] Improve TCA cache 14/54114/2
authorHelmut Hummel <typo3@helhum.io>
Sat, 9 Sep 2017 12:32:20 +0000 (14:32 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 11 Sep 2017 12:13:26 +0000 (14:13 +0200)
commitc71d948065bfdb902e98576132eeebd60c923bea
treee6a259ca454cc5c9982bd0b606a822be8bd6b454
parentd52a18545676e6655bf27693621b2f9ac6e158f4
[TASK] Improve TCA cache

Currently TCA is cached as serialized string using
the core cache.

Simplify the cache retrieval by taking advantage of
the code cache by using requireOnce and previously
storing the cache as PHP file that returns an array.
This significantly improves performance
with opcode cache enabled.

The cache identifier is changed to avoid conflicts
with previously stored data.

Resolves: #82408
Releases: master, 8.7
Change-Id: I59210fa800d10c14d21aceb7416ea418988d6ca5
Reviewed-on: https://review.typo3.org/54114
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php
typo3/sysext/core/Tests/Unit/Utility/ExtensionManagementUtilityTest.php