---
title: "Deprecation: #86353 - CacheManager usage in ext_localconf.php"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-86353"
source: "Changelog/9.5/Deprecation-86353-CacheManagerUsageInExt_localconfphp.rst"
typo3-version: "9.5"
typo3-major: 9
type: "deprecation"
issue: 86353
forge: "https://forge.typo3.org/issues/86353"
tags: ["PHP-API", "NotScanned"]
rendered: "2026-09-19T12:12:50+00:00"
---

# Deprecation: #86353 - CacheManager usage in ext_localconf.php {#deprecation-86353}

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

## Description {#description}

Usage of `\TYPO3\CMS\Core\Cache\CacheManager->getCache()` during
`ext_localconf.php` loading phase has been marked as deprecated.

## Impact {#impact}

Using `\TYPO3\CMS\Core\Cache\CacheManager->getCache()` in
`ext_localconf.php` will trigger a PHP `E_USER_DEPRECATED` error.

## Affected Installations {#affected-installations}

All installations with third party extensions that use
`\TYPO3\CMS\Core\Cache\CacheManager->getCache()` in
`ext_localconf.php`.

## Migration {#migration}

Load caches on demand, when actually needed.
