[openstreetmap/openstreetmap-website] Update to rack 3 (PR #5923)
Tom Hughes
notifications at github.com
Tue Apr 15 17:53:27 UTC 2025
tomhughes left a comment (openstreetmap/openstreetmap-website#5923)
So I did manage to reproduce the problem you're referring to and it turns out we don't actually need that code any more as `Rack::Cors` has supported caching properly for eight years now, by setting `Vary: Origin` which is better than our solution.
So I've removed our custom rack module, and extended the test to check that the vary header is set.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5923#issuecomment-2807027472
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5923/c2807027472 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250415/7e411db0/attachment.htm>
More information about the rails-dev
mailing list