Problem Statement
Primary reason to add a cache in front of a read-heavy service is to:
Explanation
Caching brings data closer to callers and avoids repeated expensive computations or reads. This cuts tail latency and protects the origin during traffic spikes. Consistency usually becomes weaker or bounded by policy.
Code Solution
SolutionRead Only
Client -> CDN/Edge -> App cache -> DB
