Deprecation: #88366 - Default caching framework cache names changed
See forge#88366
Description
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
$cache
instead of
$cache
- without the cache_
prefix.
In addition, when the DatabaseBackend cache is used, the database tables do not have the
cf_
prefix anymore, making it clearer for integrators and developers what the caches mean.
Impact
When accessing the cache with a "cache" prefix, a PHP
E_
error is triggered.
Affected Installations
Any TYPO3 extension using the caching framework with the cache_
prefix.
Migration
Remove the cache_
prefix from the callers code.
In addition, run through the Database Table Analyzer of the Configuration module to re-create any database tables of the Caching Framework.