Topic
Cache purpose, cache-aside, TTLs, stale data, cache keys, response caching, and source-of-truth boundaries.
Practice items tagged with Caching Fundamentals.
Compares caching response-shaped read models with caching domain entities or raw database objects.
Explains how TTL choices balance freshness, load reduction, user expectations, and operational safety.
Compares cache-aside, read-through, and write-through by read and write ownership, freshness, failure behavior, invalidation, fallback, stampede control, and operational complexity.
Explains when local process memory is enough and when shared Redis-style caching is worth the extra dependency.
Explains how to decide if caching is the right fix for a slow API endpoint instead of query tuning or contract changes.
Explains cache-key scope for tenant, user, role, locale, filters, response version, and security-sensitive reads.