[!!!][TASK] Streamline caching framework caches
Due to some heavy history on the caching framework, all Database caches start with "cf_cache_", which is optimized so they are only called e.g. "cache_pagesection" in the database tables. In addition, the prefix "cache_" (in e.g. "cache_core") is unnecessary, and also there due to legacy reasons, reading $this->getCache('cache_runtime') seems very illogical. The following caches have been renamed: - cache_core => core - cache_hash => hash - cache_pages => pages - cache_pagesection => pagesection - cache_runtime => runtime - cache_rootline => rootline - cache_imagesizes => imagesizes Old identifiers can still be called within PHP, but the caching framework throws a deprecation message on setting up such a cache. A silent upgrade wizard will update one's LocalConfiguration to use the new naming scheme. The result is a cleaner, more readable and more streamlined code base (we have caches like "extbase" or "assets" where there is no prefix) and database structure. The patch is breaking due to the change in the database tables. Resolves: #88366 Releases: master Change-Id: I13dcdb0d1bf78f0899615e850856de081b715358 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/59661 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- composer.json 1 addition, 1 deletioncomposer.json
- composer.lock 8 additions, 8 deletionscomposer.lock
- typo3/sysext/backend/Classes/Backend/Avatar/Avatar.php 1 addition, 1 deletiontypo3/sysext/backend/Classes/Backend/Avatar/Avatar.php
- typo3/sysext/backend/Classes/Configuration/TsConfigParser.php 1 addition, 1 deletion...3/sysext/backend/Classes/Configuration/TsConfigParser.php
- typo3/sysext/backend/Classes/Form/Utility/FormEngineUtility.php 1 addition, 1 deletion...sysext/backend/Classes/Form/Utility/FormEngineUtility.php
- typo3/sysext/backend/Classes/Utility/BackendUtility.php 4 additions, 4 deletionstypo3/sysext/backend/Classes/Utility/BackendUtility.php
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaSelectItemsTest.php 1 addition, 1 deletion...d/Tests/Unit/Form/FormDataProvider/TcaSelectItemsTest.php
- typo3/sysext/backend/Tests/Unit/Form/InlineStackProcessorTest.php 1 addition, 1 deletion...sext/backend/Tests/Unit/Form/InlineStackProcessorTest.php
- typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php 2 additions, 2 deletions.../sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php
- typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php 2 additions, 2 deletions...core/Classes/Authentication/BackendUserAuthentication.php
- typo3/sysext/core/Classes/Cache/Backend/Typo3DatabaseBackend.php 2 additions, 2 deletions...ysext/core/Classes/Cache/Backend/Typo3DatabaseBackend.php
- typo3/sysext/core/Classes/Cache/CacheManager.php 10 additions, 0 deletionstypo3/sysext/core/Classes/Cache/CacheManager.php
- typo3/sysext/core/Classes/Cache/Frontend/AbstractFrontend.php 4 additions, 0 deletions...3/sysext/core/Classes/Cache/Frontend/AbstractFrontend.php
- typo3/sysext/core/Classes/Configuration/SiteConfiguration.php 1 addition, 1 deletion...3/sysext/core/Classes/Configuration/SiteConfiguration.php
- typo3/sysext/core/Classes/Core/Bootstrap.php 4 additions, 4 deletionstypo3/sysext/core/Classes/Core/Bootstrap.php
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 2 additions, 2 deletionstypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Classes/Database/ConnectionPool.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Database/ConnectionPool.php
- typo3/sysext/core/Classes/Database/ReferenceIndex.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Database/ReferenceIndex.php
- typo3/sysext/core/Classes/ExpressionLanguage/ProviderConfigurationLoader.php 1 addition, 1 deletion...lasses/ExpressionLanguage/ProviderConfigurationLoader.php
- typo3/sysext/core/Classes/Hooks/SiteDataHandlerCacheHook.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Hooks/SiteDataHandlerCacheHook.php
Please register or sign in to comment