[TASK] Improve TCA cache 62/54062/4
authorHelmut Hummel <typo3@helhum.io>
Sat, 9 Sep 2017 12:32:20 +0000 (14:32 +0200)
committerHelmut Hummel <typo3@helhum.io>
Mon, 11 Sep 2017 11:42:23 +0000 (13:42 +0200)
commit4eceaf14e2d24354d4ec54a5fef2836d0b58f6c6
tree4f1f66af70531bdc8fe4750cfa444d81b9b560dc
parentad2b3373573884569aaac9018a4590c073b1c4e8
[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/54062
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Claus Due <claus@phpmind.net>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php
typo3/sysext/core/Tests/Unit/Utility/ExtensionManagementUtilityTest.php