Is there a way to create a Workflow to Delete the Dispatcher Cache?
I'd like to be able to do it by project ... example
/content/project1
/content/project2
If the user is on a page in project2 and wants to clear the dispatcher cache, I'd like to be able to find out the project and delete the dispatcher cache for that entire project, and that project ONLY.
Any help/examples is greatly appreciated.
Thank you for your help in advance.
-Dean
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
this is not a business case, but rather a workaround for a problem. In normal cases the author should not care about the dispatcher cache at all. If the dispatcher cache makes problem w.r.t to invalid content it's rather a bug in the implementation.
Jörg
Hi
can you please explain your use case a bit more?
By users do you mean authors?
Thanks
Dipt
Views
Replies
Total Likes
The business case: Authors want the ability to clear cache for a given project at their discretion.
Views
Replies
Total Likes
Hi,
this is not a business case, but rather a workaround for a problem. In normal cases the author should not care about the dispatcher cache at all. If the dispatcher cache makes problem w.r.t to invalid content it's rather a bug in the implementation.
Jörg
Hi Dean,
One of the approach which should be adopted is to invalidate the dispatcher cache page on page activation. You can achieve this through CQ configuration of the author or publish replication agent.
Another approach can be manually invalidating the dispatcher cache (https://docs.adobe.com/docs/en/dispatcher/page-invalidate.html#Manually%20Invalidating%20the%20Dispa...) . As part of my previous implementation we had an event-listener which used to listen to EVENTS.ACTIVATE to post a invalidate cache request.
Hope this helps.
Regards
Ashish Ranjan
Views
Replies
Total Likes
Hi Dean,
I agree with Jorg and Ashish ! Its not an event which Author should control. Page cache invalidation should be done based on the node event and if that is not working then you may have to look your cache configurations
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies