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

alexkemp9 notifications at github.com
Sun Jun 16 21:19:32 UTC 2019


Just as with the [HTML doc report](https://github.com/openstreetmap/operations/issues/306) I missed out the value for the `cache-control` header. Here it is (same for all files AFAICT):

- cache-control | max-age=31536000

That is the header that should have been (but is not) on the HTML file. These files have everything that they need except for an `eTag` and/or `Last-Modified`.


-- 
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-502486646
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190616/6d7116b1/attachment.html>


More information about the rails-dev mailing list