Skip to main content

caching-strategy

Designs, audits and implements caching for a specific website or app across every layer, including HTTP/browser headers (Cache-Control, ETag, Vary), service workers, CDNs and edge (Cloudflare, Vercel, Netlify, Fastly, CloudFront, Akamai), nginx/Varnish, in-process and Redis/Valkey/Memcached caches, database and ORM caches, framework caching (Next.js use cache/ISR, Nuxt, SvelteKit, Astro, Rails, Django, Laravel, Spring, ASP.NET), CMS, REST/GraphQL APIs, mobile clients, LLM prompt and semantic caching, and CI build caches. Detects the stack, classifies every route, and writes a validated caching plan covering invalidation, stampede protection, cache security and verification. Use when the user mentions caching, stale content, purging, CDN or Redis setup, or when pages are slow, TTFB is high, or origin, database or hosting costs are too high, even if they never say "cache". Not for clearing local package-manager caches or explaining CPU caches.

Quellinformationen

Repository
onlymoein/master-cache-skill
Letzte Quellaktivität
28. Oktober 2026 um 08:45
Erkannte Sprache von SKILL.md
Englisch
Sterne
0
Forks
0

caching-strategy: multi-layer cache plans

Designs, audits and implements app-specific caching, producing a validated route-level plan with invalidation and verification rules.

Uses

For stale content, CDN or Redis setup, high TTFB or origin load. Not for CPU caches or clearing local package-manager caches.

Prerequisites

An application repository and its routes, audience and staleness budgets. Scripts require Python 3.9+ standard library. Live header probes additionally need network access and user-supplied URLs that the user owns or is authorized to test.

How to use

State whether you need an audit/plan, one implementation phase or an answer. Supply the repository and optional authorized URLs. The skill detects the stack, inventories caches and routes, confirms budgets and tenancy, writes the Markdown plan and plan.json, validates them, then implements and verifies phase by phase.

Limitations

Live probes send GET requests to the supplied URLs, including optional two-session leak tests; cookie values must not be printed. Other script steps can run offline. Personalized responses must not enter shared caches. Purges, flushes, CDN rule changes and cache-store migrations require a validated plan and explicit approval. No automatic speedup is promised.

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
81 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
namecaching-strategy
descriptionDesigns, audits and implements caching for a specific website or app across every layer, including HTTP/browser headers (Cache-Control, ETag, Vary), service workers, CDNs and edge (Cloudflare, Vercel, Netlify, Fastly, CloudFront, Akamai), nginx/Varnish, in-process and Redis/Valkey/Memcached caches, database and ORM caches, framework caching (Next.js use cache/ISR, Nuxt, SvelteKit, Astro, Rails, Django, Laravel, Spring, ASP.NET), CMS, REST/GraphQL APIs, mobile clients, LLM prompt and semantic caching, and CI build caches. Detects the stack, classifies every route, and writes a validated caching plan covering invalidation, stampede protection, cache security and verification. Use when the user mentions caching, stale content, purging, CDN or Redis setup, or when pages are slow, TTFB is high, or origin, database or hosting costs are too high, even if they never say "cache". Not for clearing local package-manager caches or explaining CPU caches.