FIG. 02 / COMPUTER SCIENCE
The nearby copy
A filing cabinet, two little trays, and the surprisingly simple idea that makes apps faster.
Opening your exploration…
A simplified teaching model. Shapes and timings are illustrative.
THE BIG IDEA
A cache keeps recently used data nearby. Repeated requests get faster, but a small cache must make room for new items.
TRY THIS
- Request A twice and compare the response times.
- Try A → A → B → C → A to see an eviction.
- Watch the hit rate change as you repeat requests.
Hardware