#92535Extbase controller / Plugins can't modify page cache lifetime
Description
In a extbase controller i list records where things changes at a given time, so i like to reduce the cache lifetime of the page.
TypoScriptFrontendController::get_cache_timeout() has a hook
$GLOBALS[‘TYPO3_CONF_VARS’][‘SC_OPTIONS’][‘tslib/class.tslib_fe.php’][‘get_cache_timeout’]
but it’s executed before my extbase controller and the result gets cached…
Later in TypoScriptFrontendController::realPageCacheContent() is a hook
$GLOBALS[‘TYPO3_CONF_VARS’][‘SC_OPTIONS’][‘tslib/class.tslib_fe.php’][‘usePageCache’]
but it can’t modify the cache lifetime variable.