News for hackers. Stuff that matters.
Re:Staying Out of TTL Hell by tpetry on Wednesday March 10, 2021 @06:01AM (#26410018)
You can just overwrite the cache with new information when the user replaces a file.
Re:Staying Out of TTL Hell by aequitas on Wednesday March 10, 2021 @07:38AM (#26410600)
You can't, because you design to never invalidate, there is no way to ensure if and when this change is propagated through your entire cache layer (and local caches like browsers). And thus guarantee to the client the change has been made.

I'm not saying it's a bad idea. But often a seemingly simple solution to a complex problem doesn't take the entire complexity of the problem into account. Which is fine if you can consciously make that tradeoff but more often than not will turn into a footgun eventually.

Re:Staying Out of TTL Hell by _AzMoo on Wednesday March 10, 2021 @06:28AM (#26410160)
That's update on write, not never invalidate.