Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dblohm7
· 4y ago · 0 comments
Firefox's HTTP cache races with the network for precisely this reason.
Comments
[–]
staticassertion
4y ago
That is what the first sentence of the article is about and it is the premise of the entire article?
[–]
dblohm7
OP
4y ago
Ah, so it is! I got overexcited because I was one of the people who advocated for a racy cache during the redesign of that code back in the day.
[–]
edflsafoiewq
4y ago
Can I turn this off?
[–]
capableweb
4y ago
Then that implementation doesn't even save bandwidth (for client nor server), which is one of the purposes of having a cache in the first place (together with other reasons).
[–]
dblohm7
OP
4y ago
When the cache wins the network transfer is canceled, so it’s not as bad as you’re making it out to be.