Tinker Opening a web page

by Samy (Kondasamy Jayaraman) · drawn with Colorfigures by April Zhu

TTL 5 min: the answer had run out, so Larkspur’s office was asked. Page in 210 ms.1,200 km · 8 trips to the shop · 210 ms

Chapter 2 of 7

The remembered answer

Tomas in Eastport was on the shop 20 minutes ago. His resolver may still remember where the shop is.

This chapter: How long should an answer be remembered?

About this chapter

You will learn

  • A TTL says how long an answer may be kept
  • A remembered answer skips the directory
  • A long TTL keeps old addresses alive after a move

Words you’ll meet

Cache
A store of answers already fetched, kept so the next request needn’t ask again.
TTL
Time to live: how long a resolver may keep an answer before it must ask again.

Step 1 of 5

Tomas visited 20 minutes ago. His resolver keeps a of answers, each for its .

Set the TTL to 1 hour.