Delivery cache
CDN Cache Header Planner
Choose resource types and get Cache-Control suggestions. Hashed files can be immutable; HTML and private APIs should revalidate or avoid shared cache.
Ready100/100
Resource types
Hashed file names can use a one-year immutable cache. HTML and auth APIs should not.
The plan stays in this browser. It is not uploaded.
Suggested headers
Copy the Cache-Control value onto the matching path in your CDN or origin.
| Type | Match | Cache-Control |
|---|---|---|
| Hashed JS/CSS/images | /assets/*.[hash].* | public, max-age=31536000, immutable |
| HTML documents | / | public, max-age=0, must-revalidate |
| Private API | /api/* | private, no-store |
| Fonts | /fonts/*.[hash].woff2 | public, max-age=31536000, immutable |
| Unhashed images | /images/* | public, max-age=86400, stale-while-revalidate=604800 |
| Sitemap XML | /sitemap*.xml | public, max-age=3600, stale-while-revalidate=86400 |