[!!!][FEATURE] Improve caching framework by introducing groups
The current TYPO3 Core includes different types of caches. There are system-related caches (class loading cache, configuration cache, l10n_cache, extbase_object, extbase_reflection etc.) and frontend-related caches (chash cache, page cache, page section cache). The patch introduces the possibility to group caches. The core uses two groups "pages" with all page-related caches, and "system" that is used for compile-time caches and configuration caches. The new API is now used to be more flexible inside DataHandler clear_cacheCmd without having hooks, as the Cache Manager is used to clear all caches inside one hook. !!! The "Clear all caches" command does not flush caches for system-related caches anymore. Only "Clear Configuration Cache" or inside the install tool in the backend removes all the system caches. A new userTSconfig option is used to non-admins to be allowed to clear the system caches. Resolves: #54991 Releases: 6.2 Change-Id: Ie0fe134102882a1fcc5a85a0199016cdfbda08bf Reviewed-on: https://review.typo3.org/26829 Reviewed-by: Helmut Hummel Reviewed-by: Wouter Wolters Reviewed-by: Markus Klein Tested-by: Markus Klein Tested-by: Helmut Hummel
Showing
- NEWS.md 16 additions, 0 deletionsNEWS.md
- typo3/sysext/core/Classes/Cache/CacheManager.php 65 additions, 1 deletiontypo3/sysext/core/Classes/Cache/CacheManager.php
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 40 additions, 35 deletionstypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php 2 additions, 4 deletions...ysext/core/Classes/Utility/ExtensionManagementUtility.php
- typo3/sysext/core/Configuration/DefaultConfiguration.php 28 additions, 9 deletionstypo3/sysext/core/Configuration/DefaultConfiguration.php
- typo3/sysext/core/Tests/Unit/Utility/ExtensionManagementUtilityTest.php 3 additions, 11 deletions...ore/Tests/Unit/Utility/ExtensionManagementUtilityTest.php
- typo3/sysext/dbal/ext_localconf.php 2 additions, 1 deletiontypo3/sysext/dbal/ext_localconf.php
- typo3/sysext/extbase/ext_localconf.php 6 additions, 2 deletionstypo3/sysext/extbase/ext_localconf.php
- typo3/sysext/extensionmanager/Classes/Utility/ConfigurationUtility.php 1 addition, 1 deletion...extensionmanager/Classes/Utility/ConfigurationUtility.php
- typo3/sysext/extensionmanager/Classes/Utility/InstallUtility.php 1 addition, 1 deletion...ysext/extensionmanager/Classes/Utility/InstallUtility.php
- typo3/sysext/fluid/ext_localconf.php 2 additions, 1 deletiontypo3/sysext/fluid/ext_localconf.php
- typo3/sysext/install/Classes/Service/SqlExpectedSchemaService.php 12 additions, 4 deletions...sext/install/Classes/Service/SqlExpectedSchemaService.php
- typo3/sysext/workspaces/ext_localconf.php 3 additions, 1 deletiontypo3/sysext/workspaces/ext_localconf.php
Please register or sign in to comment