Project

General

Profile

Actions

Bug #50231

closed

Caching framework broken - cache expires after 1 hour (cf_cache_pagesection & cf_cache_rootline)

Added by Sven Tappert over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2013-07-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #39295: Wrong expires date in cf_cache_pagesectionClosed2012-07-26

Actions
Actions

Also available in: Atom PDF