Caching Patterns & Strategy
Implements production-grade caching strategies and invalidation patterns to optimize application performance and data consistency.
This skill provides Claude with a comprehensive framework for designing and implementing robust caching layers across the entire software stack. From low-latency Redis patterns like Cache-Aside and Write-Behind to edge-level CDN and HTTP header configurations, it guides developers through the complexities of cache invalidation, stampede prevention (PER/Locking), and TTL optimization. It ensures that caching is treated as both a performance and a correctness problem, helping to prevent stale data while significantly reducing database load and API latency.
주요 기능
01Probabilistic Early Recomputation (PER) to prevent cache stampedes
02Standardized TTL design guides for diverse data types
03HTTP Cache-Control middleware and CDN optimization
04Implementation of Cache-Aside, Write-Through, and Write-Behind patterns
05Event-based and version-based cache invalidation strategies
069 GitHub stars
사용 사례
01Implementing rate-limiting or throttling for external API calls
02Reducing database load and latency in high-traffic applications
03Optimizing static asset delivery and server-side rendering performance