---
title: "Breaking: #96968 - Hook \"headerNoCache\" removed"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:breaking-96968"
source: "Changelog/12.0/Breaking-96968-HookHeaderNoCacheRemoved.rst"
typo3-version: "12.0"
typo3-major: 12
type: "breaking"
issue: 96968
forge: "https://forge.typo3.org/issues/96968"
tags: ["Frontend", "PHP-API", "FullyScanned", "ext:frontend"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Breaking: #96968 - Hook "headerNoCache" removed {#breaking-96968}

See [forge#96968](https://forge.typo3.org/issues/96968)

## Description {#description}

The previous TYPO3 Hook "headerNoCache" registered via
`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['headerNoCache']`
has been removed in favor of a new PSR-14 event
`ShouldUseCachedPageDataIfAvailableEvent`.

## Impact {#impact}

Hooks in third-party extensions will not be executed anymore.

## Affected Installations {#affected-installations}

TYPO3 installations with custom extensions using this hook.

## Migration {#migration}

Register a new PSR-14 event listener for
[ShouldUseCachedPageDataIfAvailableEvent](https://docs.typo3.org/permalink/changelog:feature-96968-1663513232)
in the extension's `Services.yaml` to keep TYPO3 v12+ compatibility.

Extensions can then provide compatibility with TYPO3 v11 and TYPO3 v12 at
the same time.
