Is it possible to recursively flush directories in the CQ5/AEM apache dispatcher? -
Due to a special project in a multi-rented situation, I have a large number of dispatches set with deep data file levels.
I am hoping that more disturbing figures for other tenants is a way to be able to flush the directories to duplicate the file level.
Is there a sender flush command that allows me to explicitly delete a directory of contents?
You can get it by sending a simple GET request to yourself. The dispatch you need to hit is the path The following headers make sure that it is processed correctly: The last curl command that you create will look something like this: (Where it is extracting everything from cash on the dispatcher running on Local 80 on port 80. These backslashes are optional, easy to read) You can issue this request from any box (for example, your firewall restrictions etc), for example, it could be from: /dispatcher/invalidate.cache .
curl-v \ -H "CQ-Action: delete" \ - H "CQ-handle: /" \ -H "content-length: 0" \ -H "content-type: application / octet-stream" \ http: // localhost: 80 / dispatcher / invalidate.cache;
Comments
Post a Comment