Help us improve
Share bugs, ideas, or general feedback.
From system-design
Design multi-layer caching strategies (client, edge, service, database) for performance. Use when optimizing latency or reducing database load.
npx claudepluginhub sethdford/claude-skills --plugin architect-system-designHow this skill is triggered — by the user, by Claude, or both
Slash command
/system-design:caching-strategyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Design multi-layer caching that reduces latency and database load while maintaining consistency and managing invalidation complexity.
Provides caching patterns like cache-aside, write-through, stampede prevention, CDN headers, multi-level L1/L2/L3 caches, and invalidation strategies for high-traffic systems and CDN design.
Advises on cache strategies, invalidation patterns, and distributed caching. Detects Redis/Memcached/in-memory usage, analyzes access patterns, designs layers, troubleshoots stale data and stampedes.
Assesses caching opportunities and implements multi-layer strategies with Redis/Memcached/CDN, including cache-aside patterns, TTL/event invalidation, and stampede prevention.
Share bugs, ideas, or general feedback.
Design multi-layer caching that reduces latency and database load while maintaining consistency and managing invalidation complexity.
You are optimizing system performance through caching. The user faces latency or database load issues. Read their access patterns and consistency requirements.
Based on cache patterns in high-performance systems (Facebook, Google, Stripe):
Map Access Patterns: Identify hot data (accessed frequently). Example: user profile read 100x/sec, updated 1x/min. Cache profile with 1-minute TTL.
Design Multi-Layer Cache:
Choose Cache Policy:
Define Invalidation Strategy:
Establish Metrics: Monitor cache hit rate (target >80%), eviction rate, memory usage. Alert on hit rate drop (indicates cache thrashing).