Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Don't tell me what my browser can't do. Parent comment
Only if the disk write completely failed, leaving no traces of a half-broken cache entry.
If you have a half-written cache entry and don't deal with that situation somehow, you end up serving the user broken content from the cache.
It usually behooves us to have our code react to write errors.
There are no comments on this comment yet.
Only if the disk write completely failed, leaving no traces of a half-broken cache entry.
If you have a half-written cache entry and don't deal with that situation somehow, you end up serving the user broken content from the cache.
It usually behooves us to have our code react to write errors.