Hi All,
I need to add a rule in Invalidate section of dispatcher.any to deny invalidation for all the .pdf under /content/dam.
I added the rule { /glob "* /content/dam/*" /type "deny" } --> but not sure how to test it.
after adding this rule i activated page and in logs i saw still it is trying to touch "Touched /data/httpd/html/cq5dispatcher/publisher/content/dam/.stat".
Pleas let me know how to deny form getting invalidated and how to test it.
Thanks, Mahesh
Solved! Go to Solution.
Views
Replies
Total Likes
Views
Replies
Total Likes
Hi Mahesh,
Invalidate section add [A] . More details at https://docs.adobe.com/docs/en/dispatcher/disp-config.html#Automatically%20Invalidating%20Cached%20F...
[A] /0003 { /glob "*.pdf" /type "deny" }
Thanks,
Views
Replies
Total Likes
This rule :- /0003 { /glob "*.pdf" /type "deny" }, will deny every thing with .pdf.
Something we are trying to optimise, like "deny" auto invalidation .pdf files under /content/dam/
other than /content/dam/ we what to allow auto invalidate, for that we added
{ /glob "*.pdf" /type "allow" } under this rule we added below rule:-
{ /glob "* /content/dam/*" /type "deny" }
Not working, any thing i am missing here.
Views
Replies
Total Likes
Below rule worked for me.
{ /glob "/content/dam/*" /type "deny" }
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies