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…
安装
npx skills add netlify/context-and-tools --skill netlify-cachingnpx skills add netlify/context-and-tools --skill netlify-caching -a claude-code -gnpx skills add netlify/context-and-tools --skill netlify-caching -a codex -ggemini skills install https://github.com/netlify/context-and-tools.git --path skills/netlify-cachinggh skill install netlify/context-and-tools netlify-cachinggit clone --depth 1 https://github.com/netlify/context-and-tools /tmp/netlify__context-and-tools
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/netlify__context-and-tools/skills/netlify-caching ~/.claude/skills/netlify-caching # Claude Code
cp -R /tmp/netlify__context-and-tools/skills/netlify-caching ~/.agents/skills/netlify-caching # Codex, Cursor, Gemini CLI, Copilot, OpenCode