---
title: "Breaking: #92997 - Authentication-related HTTP cache headers are emitted only by PSR-15 middlewares"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:breaking-92997"
source: "Changelog/11.0/Breaking-92997-Authentication-relatedHTTPCacheHeadersAreEmittedOnlyByPSR-15Middlewares.rst"
typo3-version: "11.0"
typo3-major: 11
type: "breaking"
issue: 92997
forge: "https://forge.typo3.org/issues/92997"
tags: ["Backend", "Frontend", "PHP-API", "FullyScanned", "ext:core"]
rendered: "2026-09-25T23:17:45+00:00"
---

# Breaking: #92997 - Authentication-related HTTP cache headers are emitted only by PSR-15 middlewares {#breaking-92997}

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

## Description {#description}

In previous TYPO3 versions, when a user session was initiated or set
(e.g. due to login or cookie), class `AbstractUserAuthentication` was instructed
to send HTTP headers immediately via the PHP function `header()`.

These headers were sent directly to the client without having a chance to
manipulate a response, or simulate this behavior via proper tests in a testing
suite.

These HTTP headers for not caching a HTTP response were already attached to the
PSR-7 Response when an active Backend user was available in Frontend and Backend
requests, but not when a Frontend user was logged in.

The internal methods in class `AbstractUserAuthentication` are removed.

## Impact {#impact}

These headers are now only sent via the PSR-7 Response object, and emitted at
the very end of a Request/Response lifecycle in a TYPO3 Application (for Frontend
and Backend Requests), and not via the `header()` function anymore.

## Affected Installations {#affected-installations}

TYPO3 installations with custom extensions manipulating HTTP headers or the
options within class `AbstractUserAuthentication` to send such headers.

## Migration {#migration}

If any changes regarding the PSR-7 Response headers are needed, it is
recommended to build a custom PSR-15 middleware in a TYPO3 Extension.
