Issue Feature Resolved

#111263Extract cache flushing from DataHandler into a CacheFlusher service

Benni Mack 10/28/26, 10:01 updated 10/31/26, 07:55

Description

The cache flushing logic lives in DataHandler, depends on a backend user and is extended via two hooks (clearPageCacheEval, clearCachePostProc)
that are each called from two places with different parameters
(#108010).

Code that only wants to flush the caches of a record has to set up a DataHandler, and several places (adminpanel, form editor, indexed_search, Extbase) re-implement page cache flushing and thereby bypass TSconfig and the hooks.

A new CacheFlusher Service is good for separation of concerns.

Reviews 6

History 413

  1. Benni Mack commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-10-31T07:55:19+00:00" > 10/31/26, 07:55 </span>

    Applied in changeset commit:c8aef22084f3d0f5f367095a9d8470161773d41e.