


Hello,
We have configured permission sensitive caching on AEM as a cloud service. It is working for pages, but not for images.(Caching on CDN is disabled.)
From logs it appears that the auth checker servlet isn't called for images.
Example: https://localhost:8080/content/dam/secure/app1/en/activities/skiing/alpinists-rochefort-ridge.jpg
/auth_checker {
# request is sent to this URL with '?uri=<page>' appended
/url "/bin/permissioncheck"
# only the requested pages matching the filter section below are checked, all other pages get delivered unchecked
/filter {
/0000 {
/glob "*"
/type "deny"
}
/0001 {
/glob "/content/dam/secure/*.jpg"
/type "allow"
}
/0002 {
/glob "/content/wknd/us/en/magazine/*.html"
/type "allow"
}
}
# any header line returned from the auth_checker's HEAD request matching the section below will be returned as well
/headers {
/0000 {
/glob "*"
/type "deny"
}
/0001 {
/glob "Set-Cookie:*"
/type "allow"
}
}
}
I hope PSC is supported for images. Requesting suggestion on how to fix the same
Views
Replies
Sign in to like this content
Total Likes
HI @aanchal-sikka
Yes, PSC caching supporting for all type requests.
but the PS servlet will only be called if images/content is in cache. Can you please check if images are cached?
HI @aanchal-sikka
Yes, PSC caching supporting for all type requests.
but the PS servlet will only be called if images/content is in cache. Can you please check if images are cached?