Issue Bug Closed

#103804Site configuration changes don't trigger cache flushes

Patrick Schriner 05/08/24, 09:17 updated 04/10/25, 19:58

Description

Site configuration changes don’t any events, as we are missing the SiteConfigurationChangedEvent event.

For a distributed TYPO3 installation I want to be able to send site configuration changes to other instances, or clear the frontend cache if needed

Reviews 3

History 411

  1. Benjamin Franzke commented <span data-processor="relativetime" data-value="2024-05-08T09:48:55+00:00" > 05/08/24, 09:48 </span>

    SiteConfigurationChangedEvent was added in v13 as internal event to be able to invalidate runtime caches in https://review.typo3.org/c/Packages/TYPO3.CMS/+/83557
    This is not intended as public API.

    Your usecase – multiinstance cache-coordination – should be implemented using a custom cache-backend.
    You can overwrite the `cache.core` Backend and then signal other instances that way.

  2. Patrick Schriner commented <span data-processor="relativetime" data-value="2024-05-08T09:53:03+00:00" > 05/08/24, 09:53 </span>

    Benjamin Franzke wrote in #note-4:
    > SiteConfigurationChangedEvent was added in v13 as internal event to be able to invalidate runtime caches in https://review.typo3.org/c/Packages/TYPO3.CMS/+/83557
    > This is not intended as public API.
    >
    > Your usecase – multiinstance cache-coordination – should be implemented using a custom cache-backend.
    > You can overwrite the `cache.core` Backend and then signal other instances that way.

    Thanks for the direction

  3. Gerrit Code Review pushed patch set 1 for main to change 84185 status Rejected Under Review <span data-processor="relativetime" data-value="2024-05-10T06:09:54+00:00" > 05/10/24, 06:09 </span>

  4. Georg Ringer commented and changed status Under Review Closed <span data-processor="relativetime" data-value="2025-04-10T19:58:17+00:00" > 04/10/25, 19:58 </span>

    closing the issue as patch on gerrit has been abandoned and a valid solution presented in comments