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

  1. Identify the read/write ratio for each data domain (caching benefits read-heavy workloads).
  2. Map the hot data set: which 20% of data serves 80% of requests?
  3. Determine staleness tolerance per data type (real-time, seconds, minutes, hours).
  4. Measure current latency and throughput bottlenecks to establish a baseline.
Installs
1
GitHub Stars
2
First Seen
Sep 4, 2026