Tuesday, 23 September 2025

How to Configure Dispatcher Flush Agent in AEM: A Practical Guide

🌟 Quote of the Day

"Sometimes you win, sometimes you learn."

Dispatcher Flush Agent

It is replication agent used to clear/invalidate cache from the Dispatcher whenever content is activated or deactivated.

Multiple Ways to Clear Cache on Dispatcher

  1. Using AEM Dispatcher Flush Agent – Automatically clears cache when content is activated or deactivated.

  2. Using ACS Commons – Provides additional tools and utilities to invalidate or flush dispatcher cache selectively.

  3. Manual or Custom Code – Manually deleting cached files on the dispatcher or writing scripts to programmatically clear cache.

photo:  

How to Configure Dispatcher Flush Agent

1. Dispatcher Flush Agent on Author

  • Not recommended in most cases.

  • Author instance is primarily for content creation, not for serving live traffic.

  • If configured, it can trigger cache invalidation on the dispatcher, but it may cause unnecessary load.

2. Dispatcher Flush Agent on Publish

  • Recommended approach.

  • Publish instance serves live content through the dispatcher.

  • Flush agent is triggered automatically whenever content is activated (published) or deactivated, clearing the relevant cache.

Steps to configure:



  1. Traverse to author instance. http://localhost:4502/sites.html/content

 2. Click on Adobe Experience Manager icon → tools → Deployment → Replication as shown below:



No comments:

Post a Comment

How to Configure Dispatcher Flush Agent in AEM: A Practical Guide

🌟 Quote of the Day "Sometimes you win, sometimes you learn." Dispatcher Flush Agent It is replication agent used to clear/inval...