[openstreetmap/openstreetmap-website] Deliver some assets with HTTP Header Cache-Control: immutable (#1525)

Holger Jeromin notifications at github.com
Sat Apr 22 17:51:46 UTC 2017


Some stuff are served with a path which seems to be a MD5 hash
menu-icon-ba3407aa1c5ff7b2153008abeb7f8789165716ecc0195a606d4569d0e8e0b716.png

If this is the case the browser will never ever will get an other file when requesting this resource. 
Modern browsers support the HTTP Header `Cache-Control: immutable` for such things. 
See this blog about it:
http://bitsup.blogspot.de/2016/05/cache-control-immutable.html


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


More information about the rails-dev mailing list