This post we will discuss about how we can setup dispatcher flush agent
Steps to create a flush agent
Select Replication and then Agents on publish.
Double-click on the Dispatcher Flush item to open the overview.
Click Edit - the Agent Settings dialog will open:
In the Settings tab:
Enter a Description.
Leave the Serialization Type as Dispatcher Flush, or set it as such if creating a new agent.
(optional) Select Alias update to enable alias or vanity path invalidation requests to Dispatcher.
In the Transport tab:
Enter the required URI for the new publish instance; for example, http://localhost:80/dispatcher/invalidate.cache.
Enter the site-specific user account used for replication.
configure other parameters as required.
Click OK to save the changes
Return to the tools page and activate the Dispatcher Flush agent.
The Dispatcher Flush replication agent is not active on author. You can access the same page in the publish environment by using the equivalent URI; for example, http://localhost:4503/etc/replication/agents.publish/flush.html.