---
title: "Breaking: #96879 - Hook \"get_cache_timeout\" removed"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:breaking-96879"
source: "Changelog/12.0/Breaking-96879-RemovedHookGetCacheTimeout.rst"
modified: "2026-09-15T10:46:36+00:00"
---

# Breaking: #96879 - Hook "get_cache_timeout" removed

See [forge#96879](https://forge.typo3.org/issues/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](https://docs.typo3.org/permalink/changelog:feature-96879-1663513042)
and register a custom event listener.
