Configures CDN caching to reduce origin load and improve global latency. Covers cache headers, invalidation by tag, origin shielding, and cache key control.
A CDN only helps for the responses it actually stores. Most origins ship headers that quietly force every request back to the source, so the edge becomes an expensive proxy that adds a hop and caches nothing. The work is making assets and safe responses cacheable, then keeping them fresh.
Fastly-Debug, Cloudflare
cf-cache-status, CloudFront X-Cache). Below 80% on static assets
means headers, not capacity, are the problem. Fix the misses you can
name first.app.4f1a.js) and serve them Cache-Control: public, max-age=31536000, immutable. HTML and API responses get short or zero TTLs. One caching
policy per content class, keyed off the path, not per route guesswork.s-maxage for the CDN and
max-age for the browser so you can hold a response at the edge for an
hour while telling clients to revalidate in a minute.
stale-while-revalidate lets the edge serve stale bytes while it
refetches in the background.Surrogate-Key, Cloudflare Cache-Tag) to responses so publishing an
article purges article:912 everywhere in one call. Path purges miss
query-string and locale variants; tag purges do not.Vary only on headers that
truly change the body (Accept-Encoding, sometimes Accept-Language).
A Vary: Cookie on a public page fragments the cache into uselessness.curl -I on a static asset show a year-long max-age and immutable?cf-cache-status (or equivalent) HIT on the paths you expect to cache?This covers edge caching of HTTP responses. Header semantics themselves belong to the http-caching skill; personalized or auth-gated responses that cannot be shared across users are a compute-at-edge or origin concern, not a caching one. Defer purge-on-deploy wiring to the project's release pipeline.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
cdn, edge-caching, cache-headers, origin-shielding, cache-invalidation
Not loaded · from ai-skills-commands
Claude Code won't load this skill
It ships in ai-skills-commands at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
npx claudepluginhub amey-thakur/ai-skills --plugin ai-skills-commands1,000 skills in this plugin
/ab-test-designDesign product experiments with real hypotheses, honest sample-size math, guardrails, and peeking discipline. Use when validating a change by experiment or reviewing a test before believing its result./accessibility-reviewAudit a UI for real accessibility, keyboard-first, with concrete failures and fixes rather than checkbox compliance. Use when reviewing or building any user interface./accessibility-specialist-roleOperate as an accessibility specialist who audits against WCAG, trains teams to stop shipping the same defects, and owns the compliance sign-off. Use when a product needs to be usable with a keyboard, a screen reader, or magnification and someone must certify it before launch.Other plugins' skills for the same job