Setup & Installation
What This Skill Does
Controls how Netlify's CDN caches responses from functions, edge functions, and static assets. Covers Cache-Control header configuration, stale-while-revalidate patterns, durable cache for serverless functions, cache tag assignment, and on-demand purge via the Netlify Functions API.
Netlify uses separate cache layers with distinct headers for CDN vs browser, and getting this wrong either over-caches dynamic data or bypasses the CDN entirely — this skill maps out exactly which header controls which layer.
When to use it
- Setting CDN cache duration for API responses without affecting browser cache behavior
- Tagging product or listing pages so a single purge call invalidates related content across the CDN
- Configuring stale-while-revalidate so users get fast responses while background revalidation runs
- Debugging cache HIT/MISS behavior using the Cache-Status response header
- Applying framework-specific caching patterns for Next.js ISR or Nuxt routeRules