Project

General

Profile

Actions

Bug #27227

closed

Bug #20473: Starttime/endtime is not taken into account when caching

Use Runtime Cache in tslib_fe::get_cache_timeout

Added by Steffen Gebert over 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-06-05
Due date:
% Done:

100%

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

Description

Thanks to #20473, start and stop times of records are now taken into account during a page's cache lifetime calculation.
To prevent repeated computations, the value is cached inside tslib_fe::get_cache_timeout, using a class variable getCacheTimeoutCache.

The Runtime Cache (#27208) not only offers a cleaner way to do so, it also provides a remedy against the currently existing problem that get_cache_timeout() does its job exactly twice: Once during menu generation (which seems to work with a cloned copy of TSFE) and once before putting the page contents into the cache. As both class instances share the runtime cache, the second calculation can be safed.


Related issues 1 (0 open1 closed)

Follows TYPO3 Core - Feature #27208: Add a runtime cacheClosed2011-06-04

Actions
Actions

Also available in: Atom PDF