Caching

Invalidation vs TTL

An admin edits a product title. Readers must see the new title within a few seconds. Compare (a) short TTL only, (b) invalidate-on-write, and (c) write-through. Which would you pick for this admin edit path and why?

Intermediate drill question.

Write it as you would say it in the interview: assumptions, the design, tradeoffs, and what you would do next. The draft saves in this browser.

Review the lesson