🌟 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
-
Using AEM Dispatcher Flush Agent – Automatically clears cache when content is activated or deactivated.
-
Using ACS Commons – Provides additional tools and utilities to invalidate or flush dispatcher cache selectively.
-
Manual or Custom Code – Manually deleting cached files on the dispatcher or writing scripts to programmatically clear cache.
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:
- 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