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.
Views
Replies
Total Likes
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.html
Thanks,
Milind
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.html
Thanks,
Milind
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
Views
Like
Replies