TTL
Time to live: how long a value stays in the cache. When it expires, it's read again from the database.
Example
A price with a TTL of 300 seconds: for 5 minutes it comes from the cache; after that it's read from the database again.
Test yourself: TTL
DNS records
A DNS record's TTL says how many ___ it can be kept in cache.
A TTL of 86,400 is 1 day: for 24 hours nobody asks about that record again.
0/1
â–¶ Play