[openstreetmap/openstreetmap-website] Certain Static (?) files can never receive a 304 Not Modified (#2262)

alexkemp9 notifications at github.com
Sun Jun 16 22:20:08 UTC 2019


I'm going to assume that you are tired.

Yes, the server sends a `cache-control` + `expiry` but It does not matter, since it never sends either an `eTag` nor `Last-Modified` which means that the browser has no value to include with an `If-None-Match` nor an `If-Modified-Since` nor anything else.

> TomH
> (and now an irrelevant last modified).

If the server does not send a `Last-Modified` value, how the heck is the browser supposed to know what value to add to it's `If-Modified-Since` header?!!!

As I said at the top, I'm going to assume that you are tired.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2262#issuecomment-502490552
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190616/a595cfea/attachment.html>


More information about the rails-dev mailing list