5 ms·
That's because relying on a TTL simplifies the concept of caching, and makes invalidation trivial, and also inflexible. It's used in DNS, which already was an
by graealex 1y ago
That's because relying on a TTL simplifies the concept of caching, and makes invalidation trivial, and also inflexible.
It's used in DNS, which already was an example here. There is no way to be sure clients see an updated value before end of TTL. As a result, you have to use very conservative TTLs. It's very inefficient.
- ahoka 1y agoYou can’t be sure even after the TTL to be fair.