Hello,
What is the best way to flush on demand dispatcher cache for certain pages in site using a URL query parameter (AEM as a cloud service). Please share some config. We used IgnoreURLParams but did not work correctly.
from above url we understood that there is only two ways to do it Sling Content Distribution or Replication. we want to avoid custom development using option Sling Content Distribution and looking some suggestions here.
Thanks,
Pawan
Solved! Go to Solution.
Views
Replies
Total Likes
ignoreUrlParams has nothing to do with dispatcher cache flushing. It's a way to achieve a higher cache hit ratio on the dispatcher by ignoring certain query parameters.
To your question: Why do you want to invalidate the dispatcher cache, outside of regular activations/deactivations? That should not be necessary.
Hi @Pawan-Gupta , you may try to republish the set of pages for cache invalidation - this can be a tree activation as well, Publishing will help with dispatcher cache invalidation if you want to avoid custom development. Flush gets auto-triggered on publish/unpublish action.
For IgnoreURLParams, kindly check if the corresponding section is uncommented in dispatcher config.
Reference: Configuring Dispatcher | Adobe Experience Manager
ignoreUrlParams has nothing to do with dispatcher cache flushing. It's a way to achieve a higher cache hit ratio on the dispatcher by ignoring certain query parameters.
To your question: Why do you want to invalidate the dispatcher cache, outside of regular activations/deactivations? That should not be necessary.
Views
Likes
Replies
Views
Likes
Replies