Actions
Task #39295
closedEpic #55070: Workpackages
Epic #55065: WP: Overall System Performance (Backend and Frontend)
Story #55076: review frontend rendering cache and rootline cache
Wrong expires date in cf_cache_pagesection
Start date:
2012-07-26
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:
Description
Hi,
don't know if its really a bug or just a miss configuration.
In table "cf_cache_pagesection" every expires timestamp is set to + 1 hour after
page generation. My config.cache_period = 86400 is ignored. So After one hour
the page cache is flushed.
In class t3lib_TStemplate function start near line 337
i changed if from:
$pageSectionCache->set( intval($GLOBALS['TSFE']->id) . '_' . $mpvarHash, $cc, array( 'pageId_' . intval($GLOBALS['TSFE']->id), 'mpvarHash_' . $mpvarHash )
to
$pageSectionCache->set( intval($GLOBALS['TSFE']->id) . '_' . $mpvarHash, $cc, array( 'pageId_' . intval($GLOBALS['TSFE']->id), 'mpvarHash_' . $mpvarHash ), //set timout else default 3600 is used $GLOBALS['TSFE']->get_cache_timeout()
then the expires date is correct.
Actions