[openstreetmap/openstreetmap-website] Don't set Vary response header (PR #6112)
Anton Khorev
notifications at github.com
Mon Jun 16 17:15:14 UTC 2025
Problem:
1. open https://www.openstreetmap.org/traces (or any page with turbo pagination)
2. click *Older Traces* (or older whatever)
3. right-click the tab and select *duplicate* or *duplicate tab*

4. you're going to see something like this

It's the turbo-frame contents, without header, footer and css.
The same is going to happen if you:
1. open the traces page
2. click *Older Traces*
3. close the tab
4. go to history / recently closed tabs and restore the tab
The reason for this is apparently the `Vary` header.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6112
-- Commit Summary --
* Don't set Vary response header
-- File Changes --
M app/controllers/application_controller.rb (1)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6112.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6112.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6112
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6112 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250616/adb0a0f9/attachment.htm>
More information about the rails-dev
mailing list