Question
Validate CDN Caching Disabled
Hi All,
I am trying to disable CDN caching in AEM Cloud -
As per https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/caching/how-to/disable-caching we can do the below -
<LocationMatch "$URL$ || $URL_REGEX$">
# Removes the response header of this name, if it exists. If there are multiple headers of the same name, all will be removed.
Header unset Cache-Control
Header unset Surrogate-Control
Header unset Expires
# Instructs the Browser and the CDN to not cache the response.
Header always set Cache-Control "private"
# Instructs only the CDN to not cache the response.
Header always set Surrogate-Control "private"
</LocationMatch>
However, there is no mention on how to validate the same?
I did add the above property in my vhost file but the CDN logs still show the cache as HIT versus MISS or PASS.
<LocationMatch "^/etc\.clientlibs/.*\.(js|css)$">
Header unset Cache-Control
Header unset Surrogate-Control
Header unset Expires
Header always set Surrogate-Control "private"
</LocationMatch>The logs below still show the cache as HIT - What am I missing?
{"timestamp":"2026-10-06T05:53:53+0000","ttfb":248,"ttlb":249,"cli_ip":"23.44.4.166","cli_country":"SG","cli_region":"SG-01","rid":"a3d000e5-e7c7-49a0-86dd-f97e92802165","req_ua":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/154.0.0.0 Safari/537.36","aem_envKind":"SKYLINE","aem_tenant":"abcglobalcom","host":"abc.com","url":"/etc.clientlibs/abc-platform/clientlibs/clientlib-base.min.css","method":"GET","res_ctype":"text/css;charset=utf-8","cache":"HIT",debug":"","res_age":"1010401","status":200,"pop":"SIN","rules":"","alerts":"","sample":"","ddos":false}Thanks in advance,
NK