Skip to content

netlify-caching

Cache dynamic and static responses on Netlify's CDN from Functions, Edge Functions, Netlify Server, and proxies. Use when you add caching or cache-control

— (0 ratings) 3.5K downloads netlify
$ npx skills add https://github.com/netlify/context-and-tools --skill netlify-caching

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

Netlify caching

Cache-control header to reach for

Dynamic responses (Functions, Edge Functions, Netlify Server, proxies) are NOT cached by default. You must opt in. Set Netlify-CDN-Cache-Control on the response:

import type { Context } from "@netlify/functions";

export default async (req: Request, context: Context) => {
  return new Response("Hello world", {
    headers: {
      'Netlify-CDN-Cache-Control': 'public, durable, max-age=60, stale-while-revalidate=120'
    }
  });
};

Installs: 3.5K | GitHub stars: 57 | First seen: Feb 27, 2026

Related skills

New

Backend & APIs

lark-openapi-explorer

Discover and call native Lark OpenAPI endpoints from official documentation when existing skills fall short.

New • 492.1K
New

Agent workflows

lark-skill-maker

Create reusable Lark API Skills by wrapping atomic operations or orchestrating multi-step workflows.

New • 491.7K
New

Backend & APIs

prisma-client-api

Complete Prisma Client API reference for model queries, CRUD operations, filtering, relations, and transactions.

New • 455.8K