[openstreetmap/openstreetmap-website] Don't set Vary response header (PR #6112)

Tom Hughes notifications at github.com
Mon Jun 16 17:59:15 UTC 2025


tomhughes left a comment (openstreetmap/openstreetmap-website#6112)

It's not just the map key surely, it's the entire site - the vary is needed to ensure that a browser doesn't reuse a cached page when the client language changes.

Technically it's only needed for user's that aren't logged in and that don't have a locale cookie.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6112#issuecomment-2977530227
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6112/c2977530227 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250616/4781d925/attachment.htm>


More information about the rails-dev mailing list