Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Problem with URL with selector

Avatar

Level 2

Hi everyone,

We’re on Cloud and when authors publish /content/acme/en/products.page.html, that URL updates right away, but the versions with selectors (like /content/acme/en/products.list.page.html) and the clean URL (/content/acme/en/products) stay stale for a few minutes behind the CDN/Dispatcher. How can I track down what’s caching what, and fix it so all variants invalidate together?

1 Reply

Avatar

Community Advisor

Hi @SanaQu,

Try running a few quick header checks on each variant right after publish like :

# canonical
curl -I https://www.example.com/content/acme/en/products.page.html
# selector
curl -I https://www.example.com/content/acme/en/products.list.page.html
# extensionless (clean)
curl -I https://www.example.com/content/acme/en/products

Look at:

  • Age, X-Cache, Via → tells you CDN hits.

  • Any X-Dispatcher-*/X-Cache-Info (or log grep) - Dispatcher.

  • Cache-Control / Surrogate-Control / ETag / Last-Modified - whether revalidation is even possible.

If canonical is fresh but the other two show Age climbing, you’ve confirmed variant-specific caching.

Invalidate dispatcher: Set .stat at site depth and allow html/json invalidation:

/cache { /statfileslevel "3" }        # /content/acme/en/.stat
/invalidate {
  /0000 { /glob "*"      /type "deny" }
  /0001 { /glob "*.html" /type "allow" }
  /0002 { /glob "*.json" /type "allow" }
}​

ath the end, see if your rewrite makes extensionless resolve to the canonical before cache keying.

  • If variants stay, purge with a wildcard or shared surrogate key (e.g., /content/acme/en/products*).
    If everything redirects to canonical, one purge is enough.

  • curl -I each variant - Age: 0 right after publish; no mismatched keys.


Santosh Sai

AEM BlogsLinkedIn