View All Tools

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
Rules6
immutable2
no-store1
Issues0

Resource types

Hashed file names can use a one-year immutable cache. HTML and auth APIs should not.

Include these types

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.

TypeMatchCache-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].woff2public, max-age=31536000, immutable
Unhashed images/images/*public, max-age=86400, stale-while-revalidate=604800
Sitemap XML/sitemap*.xmlpublic, max-age=3600, stale-while-revalidate=86400

Nginx

Vercel