netlify-caching
Controls how Netlify's CDN caches responses from functions, edge functions, and static assets.
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
Similar Skills
wp-performance
A backend-only agent skill for diagnosing and fixing WordPress performance problems.
wp-playground
wp-playground runs disposable WordPress instances in the browser or locally via CLI, using WebAssembly and SQLite.
wp-wpcli-and-ops
Handles WordPress operational tasks via WP-CLI: database exports and imports, URL and domain migrations with search-replace, plugin and theme management, cron inspection, cache flushing, and multisite operations.
apollo-router-plugin-creator
Guides you through writing native Rust plugins for Apollo Router.
