Caching Patterns

Design and implement caching — strategy selection (cache-aside, read-through, write-through, write-behind), cache invalidation, TTL tuning, Redis patterns, cache stampede prevention, and distributed cache consistency. Use when asked to "add caching", "Redis cache", "cache invalidation", "reduce database load", "cache-aside", "CDN caching", "stale-while-revalidate", "cache stampede", "cache warming", or "response is too slow and hits the DB every time". Do NOT use for: HTTP browser caching headers alone — use web-performance. Do NOT use for: feature flag caching — use feature-flags skill.

yanacuti1121 8290209 6.3 KB Updated 2 repo stars

File contents

yanacuti1121/Yana-AI/tree/main/core/skills/caching-patterns commit 8290209573

Frequently asked questions

npx skillmds add yanacuti1121/caching-patterns