netlify-caching

Configure Netlify CDN and browser caching with cache-control headers.

Updated May 31, 2026
One-click install
npx skills add https://github.com/ChristineTham/lp --skill netlify-caching
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: netlify-caching
Source: https://github.com/ChristineTham/lp/tree/main/.agents/skills/netlify-caching
Command: npx skills add https://github.com/ChristineTham/lp --skill netlify-caching

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Configuring caching across Netlify's CDN, edge caches, and browser can be confusing; this guide helps teams implement clear, effective cache headers to improve performance and consistency.

Core Features & Use Cases

  • Configure Netlify-CDN-Cache-Control, CDN-Cache-Control, and Cache-Control headers to optimize caching across edge and browser.
  • Implement on-demand purge and tag-based invalidation to minimize stale content.
  • Understand default caching behavior for static assets vs dynamic responses and apply appropriate cache strategies during deployment.

Quick Start

Set Netlify-CDN-Cache-Control and Cache-Control headers on assets to enable CDN caching and configure a simple purge workflow.

Frequently Asked Questions about netlify-caching

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Netlify CDN caching headers for static assets and dynamic responses?

Configure Netlify CDN caching by setting Netlify-CDN-Cache-Control, CDN-Cache-Control, and Cache-Control headers to manage edge and browser cache behavior for static assets and dynamic responses.

What is the difference between Netlify-CDN-Cache-Control and Cache-Control headers?

Netlify-CDN-Cache-Control dictates edge node caching behavior, while Cache-Control manages browser caching, allowing distinct cache strategies across the CDN and client.

How do I purge stale content from the Netlify CDN on demand?

Purge stale Netlify CDN content by implementing on-demand purge and tag-based invalidation workflows to clear edge caches during deployment or content updates.

Can I use Netlify cache-control patterns for serverless functions?

Yes, you can enforce durable caching for serverless functions using specific cache-control patterns to optimize dynamic response delivery across edge nodes.

Does this Netlify caching guidance apply to framework-specific scenarios?

Yes, the caching guidance provides strategies for framework-specific scenarios, ensuring appropriate cache headers are applied across diverse static and dynamic deployments.