Behind edge ✓host cdn-playground-five.vercel.appproto httpscdn-loop vergcloud-staging; count=1
← Feature map

Cache lab

Verify edge HIT/MISS behavior across cache profiles: short TTL, immutable, no-store, and vary.

Setup guide

CDN → Domain [domain] → Page Rule → New

Suggested config

  • short-ttl: URL /api/origin/cache/short-ttl*, cache_level query_string, cache_max_age 1m, origin_cache_control on
  • immutable: URL /assets/immutable/*, cache_level uri, cache_max_age 30d (API max), cache_args off
  • no-store: URL /api/origin/cache/no-store*, cache_level off

Verify

  1. Request twice with the same URL (no cache-buster) — expect MISS then HIT
  2. Check age + timing drop on the second request
  3. no-store should never HIT

Origin routes

All probes are same-origin through the CDN hostname. Open routes in a new tab to compare edge vs origin headers.

No request yet — hit a button above to run a probe.