Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

https://tools.ietf.org/html/rfc7234#section-4.2.2

   Since origin servers do not always provide explicit expiration times,
   a cache MAY assign a heuristic expiration time when an explicit time
   is not specified, employing algorithms that use other header field
   values (such as the Last-Modified time) to estimate a plausible
   expiration time.  This specification does not provide specific
   algorithms, but does impose worst-case constraints on their results.
The standard does not say what heuristics should be used, so Firefox’s heuristics is no more “legitimate” than Chorme/Safari’s heuristics of expiring immediately when Content-Dispostion is present.

“Firefox legitimately treats...” is highly misleading, making it sound like Firefox is more standard-compliant, but it’s not; it’s just different.



I am fairly confident that the article is not trying to imply that Chrome/Safari are NOT standards compliant. The author seems to be trying to heavily emphasize that this is not a Firefox bug, and that Firefox can legitimately do this while being standards compliant.

I feel like the author was anticipating a lot of people blaming Firefox for this incident, and is attempting to shut those responses before they get made.

I think that trying to write to the responses you expect from your audience unfortunately ends up with these kinds of miscommunications of intention more often than not.


Twitter explicitly blamed Firefox for the behavior, so the anticipation is warranted.


And it's allowed to treat it differently than the other browsers. That's what "legitimately" means. And that needs to be pointed out, because Twitter was very careful to avoid saying it wasn't a Firefox bug.


Please don't use code blocks for quotes. It makes it very hard to read text on mobile, narrow viewports or via screen readers.


RFCs are published as plain text with line breaks, which I literally copied without even changing the indentation, so barking up the wrong tree here.


I'm not. If copied without formatting as code blocks, the text would be a lot more readable and wouldn't require horizontal scrolling on narrow viewports.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: