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.

practicalswan 637a0ab 3 files · 21.7 KB Updated

File contents

practicalswan/agent-skills/tree/main/netlify-caching commit 637a0ab7b3

Frequently asked questions

npx skillmds add practicalswan/netlify-caching