How do you choose whether and where to cache?
Answer from the constraint
Start from the measured read path, freshness requirement, and failure budget. Then choose the cache location and invalidation strategy that make those constraints explicit.
A useful response structure
- Name the user-visible requirement or invariant.
- Choose the simplest decision that protects it.
- State the cost and the likely failure mode.
- Give one observable trigger for changing the design.