Next.js cache reproduction
Dynamic route cache key
/[site]/[locale]/[[...path]]
Cached result
Siteacme
Localeen
Catch-all pathinsights/assets/example-article
Generated at2026-09-24T11:39:32.911Z
Generation IDa4fe67e9-75a6-479f-96a6-db584aaec014
Revalidation controls
Try the mismatch, then the fix
Each action posts to /api/revalidate and refreshes this route. Compare the generation ID above after each request.
/en/insights/assets/example-article/acme/en/insights/assets/example-articlepage:acme:en:insights/assets/example-articleExpected behavior
Revalidating /en/insights/assets/example-article targets a different URL and should leave this route's generation ID unchanged. Revalidating the concrete path /acme/en/insights/assets/example-article, or its exact data-cache tag, targets the cached entry used here.