caching-strategy
Installation
SKILL.md
Caching Strategy
Designs multi-layer caching architectures selecting appropriate patterns (aside, through, back), invalidation strategies, TTL policies, and CDN configurations to optimize latency and reduce backend load.
Guiding Principle
"There are only two hard things in computer science: cache invalidation and naming things."
Procedure
Step 1 — Profile Access Patterns
- Identify the read/write ratio for each data domain (caching benefits read-heavy workloads).
- Map the hot data set: which 20% of data serves 80% of requests?
- Determine staleness tolerance per data type (real-time, seconds, minutes, hours).
- Measure current latency and throughput bottlenecks to establish a baseline.