Bug #50231
closedCaching framework broken - cache expires after 1 hour (cf_cache_pagesection & cf_cache_rootline)
100%
Description
The cache lifetimes (field "expires") in the tables "cf_cache_pagesection" & "cf_cache_rootline" are always set to the default of 3600 and disregards the TS config settings.
Therefore the cache of a page always expires after one hour. This disables the caching framework more or less and produces heavy server load. It seems the caching framework is broken in all current branches!
Example TS setup with cache lifetime of 7 days (page.config.x is set identically)
config.cache_period = 604800 config.cache_clearAtMidnight = 0
This results in incorrect "expires" values in tables "cf_cache_pagesection" and "cf_cache_rootline".
In issue #39295 there is a patch for the pagesection cache (in 6.x: TYPO3\CMS\Core\TypoScript\TemplateService.php about line 510).
I couldn't figure out yet where the rootline cache is set. The "expires" values in tables "cf_cache_hash" and "cf_cache_pages" are set correctly.