Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
This conversation has been locked due to inactivity. Please create a new post.
Hi @All,
Can anyone please help me to get the Event Handler logic to clear the dispatcher cache via programmatically. Event Handler or Even Listener anything is fine.
Thanks,
Imad
Solved! Go to Solution.
Please refer :https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/configuring/page-invalid...
Note: This has to based on a event which will trigger the invalidation.
If you are NOT using AEM Cloud Service and are using ACS commons you can use this :https://adobe-consulting-services.github.io/acs-aem-commons/features/dispatcher-flush-ui/index.htmlThanks,
Milind
View solution in original post
Below is the one the example of page listener which uses DispatcheFlusher Service from ACS Commons to flush the cache.
https://aemhints.com/2020/11/08/resource-listener-to-flush-cache-in-aem-6-5/
Event Handler: https://aemhints.com/2020/11/08/event-listener-in-aem-6-5/
Views
Likes
Replies
Like