Caches need expiration stories

A cache is a promise that stale data is acceptable for a specific amount of time.

Before adding one, decide:

  1. What is the source of truth?
  2. How stale can this value be?
  3. Who invalidates it?
  4. What happens if invalidation fails?

If nobody can answer those questions, the cache is not optimization. It is suspense.