Breaking: #96879 - Hook “get_cache_timeout” removed

See Issue #96879

Description

The hook $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['get_cache_timeout'] used in TYPO3 Frontend for changing the cache timeout of a page stored in the TYPO3 “pages” cache has been removed.

Impact

If an extension has registered a hook in ext_localconf.php it will not be executed anymore in TYPO3 v12 or later.

Affected Installations

TYPO3 installations using this hook in custom extensions.

Migration

Use the newly introduced PSR-14 Event ModifyCacheLifetimeForPageEvent and register a custom Event Listener.