News for hackers. Stuff that matters.
Re:Caching is an Abstraction, not an Optimization by graealex on Friday July 04, 2025 @06:25AM (#44463192)
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.

Re:Caching is an Abstraction, not an Optimization by ahoka on Friday July 04, 2025 @03:15PM (#44467115)
You can’t be sure even after the TTL to be fair.