Mity Docs Mity Docs for Mity Digital
Scheduled Cache Invalidator Documentation

ScheduledCacheInvalidated Event

Introduced in 2.1.0, the ScheduledCacheInvalidated event is dispatched when at least one Entry has its cached version cleared.

We've done this specifically for our Feedamic (2.5.0) and Sitemapamic (3.2.0) addons to automatically clear their caches - learn more.

You can listen for this Event in your own apps too.

Event contents

The event will include a collections property.

This is an array that includes the handles of the Collections that have had entries cleared.