Hi All,
What is the difference between "CQ-Action: Activate", "CQ-Action: Deactivate", "CQ-Action: Delete" while sending a Curl request to dispatcher to invalidate the cache?
Is there any API that lists down these methods?
Which action should be used if I simply want to touch the statsfile for the payload?
This documentation is a bit confusing as it states that the dispatcher deletes files on "CQ-Action: Activate". And the Curl Commands documentation states that "CQ-Action: Activate" is used to invalidate the cache. For evicting cache, "CQ-Action: Deactivate" is used.
Thanks,
Ram
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Rampai94 ,
This documentation has really good explanation:
https://helpx.adobe.com/uk/experience-manager/kb/ams-dispatcher-manual/disp-flushing.html
If this doesn't help, Can you please explain your scenario in a bit more detail please.
Hi @Rampai94 ,
This documentation has really good explanation:
https://helpx.adobe.com/uk/experience-manager/kb/ams-dispatcher-manual/disp-flushing.html
If this doesn't help, Can you please explain your scenario in a bit more detail please.
Thanks! This helped. One more query I have is how to handle the Host Header while setting up the dispatcher flush agent in case of multiple sites hosted on AEM? The example provided handles one particular site but how to ensure that the flush request goes to the correct vhost in case of like 100+ sites?
Views
Replies
Total Likes
Views
Replies
Total Likes
Content paths can either be invalidated or flushed from the AEM Dispatcher cache.
These actions define the ReplicationActionType :
And used for Dispatcher Flush agents and specify elements that must be flushed.
For a Dispatcher Flush agent the three standard entries should not need changing:
These are used, as appropriate, to indicate the action to be used when flushing the handle or path. The sub-parameters are dynamic:
They are substituted by the path/action relevant to the request and therefore do not need to be “hardcoded”:
Note:
If you have installed AEM in a context other than the recommended default context, then you will need to register the context in the HTTP Headers. For example:
CQ-Handle:/<yourContext>{path}
Views
Likes
Replies