[openstreetmap/openstreetmap-website] Last-Modified header missing from almost all Website Static Files (#2260)
notifications at github.com
Sun Jun 16 17:41:53 UTC 2019
The current behaviour appears to be deliberate (https://github.com/openstreetmap/chef/blob/master/cookbooks/web/templates/default/apache.frontend.erb#L97) and I suspect reflects what rails was recommending when the asset pipeline was introduced.
The current recommendation (https://guides.rubyonrails.org/asset_pipeline.html#far-future-expires-header) seems to have dropped that though and just drops ETag and sets the expiry.
So we could change it but I don't see any likely gain especially as the actual times aren't very meaningful.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev