4 ms·
How many of the "polling issues" can be explained by clients doing heuristic caching[1][2] due to a lack of a `Cache-Control` header in the responses? If the f
by quectophoton 2y ago
How many of the "polling issues" can be explained by clients doing heuristic caching[1][2] due to a lack of a `Cache-Control` header in the responses?
If the feed was last updated (for example) 1 hour ago, and the response lacks a `Cache-Control` header, in that case the response would be cached for 6 minutes (10% of 1 hour; the 10% is mentioned in RFC 9111 section 4.2.2).
[1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching#heuristic_caching https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching#he...
[2]: https://datatracker.ietf.org/doc/html/rfc9111#name-calculating-heuristic-fresh https://datatracker.ietf.org/doc/html/rfc9111#name-calculati...