Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

AEM Dispatcher eviction

Avatar

Level 2

Does anybody know when  as in with which kind of activation are files evicted in dispatcher?  At the moment I am not finding a clear pattern. And doesn't seems to be any documentation available.  Please do not refer me to another article in this community because there is no other addressing this properly.  

2 Replies

Avatar

Community Advisor

Hi @agriselli 

On Activation/Deactivation and Delete, all the files(including all the extension, selectors etc) at the same path are flushed/invalidate from dispatcher if flush agent is configured. Flush or Revalidate It depends on dispatcher config.


Which other files are deleted it depends on statfile config - https://medium.com/@bhargava.shalki/logic-of-stat-file-in-aem-dispatcher-a0ac254dccaf  

Arun Patidar

AEM LinksLinkedIn

Avatar

Employee

hello @agriselli 

Any activation (publish) from Author to Publish can trigger cache invalidation if the Dispatcher is configured to invalidate the activated path.

The /cache and /invalidate sections in dispatcher.any define which paths are automatically flushed. Some cache evictions occur only via explicit Dispatcher flush requests, either from AEM or manually (e.g., /dispatcher/invalidate.cache URL or curl).

For most files, Dispatcher marks cache files as stale after an activation; the actual file is refreshed or deleted only when requested again. Files are actively and immediately evicted only if an activation or flush explicitly matches the /invalidate rules.

Also double-check your /invalidate, /invalidateHandler, /statfileslevel, and /enableTTL configuration