Netlify Caching

Cache dynamic and static responses on Netlify's CDN from Functions, Edge Functions, and proxies. Use when you add caching or cache-control headers to a function response, tune cache TTL or stale-while-revalidate, set up the durable cache, vary a cache key by query/header/cookie/country/language, purge or invalidate the cache by site or cache tag, use the programmatic Cache API (caches.open/match/put) or @netlify/cache helpers (fetchWithCache/cacheHeaders/getCacheStatus), speed up an expensive API call, add ISR or on-demand revalidation, or debug why a response is or isn't cached via the Cache-Status header.

bg-szy aafed44 3 files · 19.4 KB Updated

File contents

bg-szy/TOP-SKILLS/tree/main/skills/agent-skills/netlify-caching commit aafed44f29

Frequently asked questions

npx skillmds@latest add bg-szy/netlify-caching