Skip to content
Theory · Caching at system level · lesson 6 of 7

Cache layers: browser, CDN, service, database

One card view, on its way from the buyer to the database, can pass through five caches. Each has its own rules: who reads the copy, how long it lives and whether it can be deleted. When the interviewer asks "where exactly is the cache?", answer by layers: what sits in each and why exactly there.

In this lesson

  • Five layers
  • How to pick a layer
  • Common mistake
  • Key points