---
title: "Deprecation: #99019 - Deprecated ext_emconf.php clearCacheOnLoad"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-99019-1667905697"
source: "Changelog/12.1/Deprecation-99019-DeprecatedExt_emconfphpClearCacheOnLoad.rst"
modified: "2026-09-15T10:46:36+00:00"
---

# Deprecation: #99019 - Deprecated ext_emconf.php clearCacheOnLoad

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

## Description

The array keys `clearCacheOnLoad` and `clearcacheonload`
in extension's `ext_emconf.php` files have been deprecated and
can be removed.

When loading or unloading extensions using the extension manager,
all caches are always cleared.

## Impact

When loading or unloading extensions using the extension manager, all
caches are flushed, regardless of the boolean toggle in `ext_emconf.php`.

## Affected installations

Instances with extensions `ext_emconf.php` files setting `clearCacheOnLoad`
or `clearcacheonload`.

## Migration

Simply drop this key from `ext_emconf.php`. Extensions with this toggle set
to true that want to keep compatibility with both TYPO3 v11 and v12 should keep
the setting until v11 compatibility is dropped from the extensions.
