Event

namespace TYPO3\CMS\Core\Cache\Event

Table of Contents

Classes

AddCacheTagEvent
This event should only be used in code that has no access to the request attribute 'frontend.cache.collector'.
AfterCacheFlushedEvent
Dispatched once after CacheFlusher flushed caches, e.g. for changed records in DataHandler or via the clear cache actions of the backend. Use it for follow-up work such as purging a reverse proxy or CDN by the flushed cache tags. The "cache:flush" command only dispatches CacheFlushEvent.
BeforeCacheFlushEvent
Dispatched once per cache flush with the complete plan of cache tags and cache groups, which listeners may change before anything is flushed.
BeforeRecordRelatedCachesAreFlushedEvent
Dispatched once for every changed record, after the pages, cache tags and cache commands related to it have been resolved from the page tree and Page TSconfig "TCEMAIN.clearCache_*" and "TCEMAIN.clearCacheCmd".
CacheFlushEvent
Event fired when caches are to be cleared
CacheWarmupEvent
Event fired when caches are to be warmed up
On this page