AEM CDN cache changes: how to prove the right pages are uncached
An AEM page that looks fresh once can still be served stale elsewhere. Use a route-by-route cache test before changing CDN rules or declaring the problem fixed.
October 19, 2026
An AEM team changes a cache rule, refreshes a page and sees the new content. That is encouraging, but it does not prove the rule works. The request might have missed the CDN, carried a cookie that bypassed caching, or landed on a different URL variant. A visitor on another route can still see yesterday's page.
A recent Experience League Community question asks how to validate that CDN caching is disabled. The customer problem is broader than one header: teams need evidence that the intended route is fresh without sacrificing caching everywhere else.
First define the freshness requirement
Write down the exact content and event that must become visible. Is this a published article, a price, an authenticated account view or a campaign fragment? Record the acceptable delay after publication and the URL patterns affected. A requirement such as “the site must never cache” is usually too broad to test or operate.
Separate three questions: whether the browser reused its local copy, whether the CDN served an object and whether AEM or Dispatcher generated it. A hard refresh can change the first answer while leaving the second unchanged. An origin response can be fresh while a CDN variant remains stale.
Test a matrix, not one URL
Choose a small set of representative routes: the affected page, a sibling page that should remain cacheable, a query-string variant and any relevant language or host variant. For each, record the request URL, method, cookies, response status, Cache-Control, Age and CDN-specific cache diagnostics where exposed. Repeat the same request after a known content change and after the normal publish path completes.
Run the test as an anonymous visitor and with the cookies normally present in the affected journey. If a personalized route has different rules, include that as a separate case. Compare the response body or a content version marker, not just the cache header. A header can be correct while an upstream layer still serves old HTML.
Avoid adding random query parameters as the only test. They often create a new cache key, so a fresh response proves little about the canonical URL. Test the exact URL customers use.
Narrow the change and keep the control case
Adobe documents ways to disable caching for selected content, while cautioning that cache choices affect performance. Prefer a route-specific rule with a clear owner and expiry condition. Keep the cacheable sibling route in the test matrix: it tells you whether a narrow fix accidentally became a sitewide cache bypass.
After deployment, repeat the matrix from an external network and log the results with the rule version and publish timestamp. If the issue recurs, the team can compare evidence rather than argue from screenshots. A rollback condition should be explicit: for example, the route is fresh but origin load or latency rises outside an agreed range.
What the buyer should ask for
If you are evaluating an AEM implementation partner, ask to see a cache behavior specification tied to business journeys, automated route checks and a release runbook. “We cleared the cache” is a recovery action; it is not a reliability design.
The useful outcome is not zero caching. It is predictable freshness for the content that needs it, with measurable performance for everything else.
Adovo’s view
Freshness is a promise to the visitor, not a switch in a configuration file. The promise changes by journey: a legal notice may need to update immediately, while an editorial page can often tolerate a short delay. When those differences are left undefined, teams oscillate between stale content and a sitewide cache bypass.
Make the publishing promise explicit before choosing a rule. Then prove both halves of it: the changed page is fresh, and the rest of the site remains fast. A CDN policy is sound when content owners can explain it and operators can verify it.
