Deprecation: #88366 - Default caching framework cache names changed¶
See Issue #88366
TYPO3’s internal Caching Framework has several caches already shipped with TYPO3 Core.
The caches have been renamed for convenience and for newcomers to overcome another “speciality” of TYPO3 which was due to legacy and integration reasons back in TYPO3 4.3 when the Caching Framework was introduced.
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
The caches should now be accessed via
$cacheManager->getCache('core') instead of
$cacheManager->getCache('cache_core') - without the “cache_” prefix.
In addition, when the DatabaseBackend cache is used, the database tables do not have the
prefix anymore, making it clearer for integrators and developers what the caches mean.
When accessing the cache with a “cache” prefix, a deprecation message is thrown.