---
title: "Caching"
manual: "TYPO3 Explained"
version: "12.4"
permalink: "https://docs.typo3.org/permalink/t3coreapi:extbase-caching@12.4"
source: "ExtensionArchitecture/Extbase/Reference/Caching.rst"
rendered: "2026-10-21T15:29:37+00:00"
---

> [!WARNING]
> **Attention**
>
> TYPO3 v12 has reached end-of-life as of April 30th 2026 and
> is no longer being maintained. Use the version switcher on the top
> left of this page to select documentation for a supported version of TYPO3.
>
> Need more time before upgrading?
> You can purchase Extended Long Term Support (ELTS) for TYPO3 v12 here:
> [TYPO3 ELTS](https://typo3.com/services/extended-support-elts).

# Caching {#extbase-caching}

Extbase clears the TYPO3 cache automatically for update processes. This is called
*Automatic cache clearing*. This functionality is activated by default. If a domain object is
inserted, changed, or deleted, then the cache of the corresponding page in which the object is
located is cleared.  Additionally the setting
of TSConfig [TCEMAIN.clearCacheCmd](https://docs.typo3.org/m/typo3/reference-typoscript/12.4/en-us/PageTsconfig/TceMain.html#pagetcemain-clearcachecmd) is evaluated for this page.

The frontend plugin is on the page *Blog* with *uid=11*. As a storage folder for all the Blogs and
Posts the SysFolder *BLOGS* is configured. If an entry is changed, the cache of the SysFolder
*BLOGS* is emptied and also the TSConfig configuration
[TCEMAIN.clearCacheCmd](https://docs.typo3.org/m/typo3/reference-typoscript/12.4/en-us/PageTsconfig/TceMain.html#pagetcemain-clearcachecmd) for the SysFolder is evaluated.
This contains a comma-separated list of Page IDs, for which the cache should be emptied. In this
case, when updating a record in the SysFolder *BLOGS* (e.g., Blogs, Posts, Comments), the cache of
the page *Blog*, with uid=11, is cleared automatically, so the changes are immediately visible.

Even if the user enters incorrect data in a form (and this form will be
displayed again), the cache of the current page is deleted to force a new
representation of the form.

The automatic cache clearing is enabled by default, you can use the TypoScript configuration
[persistence.enableAutomaticCacheClearing](https://docs.typo3.org/m/typo3/reference-typoscript/12.4/en-us/TopLevelObjects/Plugin.html#extbase_persistence-enableAutomaticCacheClearing) to disable
it.
