[openstreetmap/openstreetmap-website] Compress plain GPX uploads with gzip (PR #7124)
Ruben L. Mendoza
notifications at github.com
Fri Jun 5 23:31:42 UTC 2026
Rub21 left a comment (openstreetmap/openstreetmap-website#7124)
I changed the logic a bit.
There is now a `server_gzipped: true` flag in the metadata, so the download knows if the server gzipped a plain GPX.
The user still gets a plain GPX either way. If their client accepts gzip, the server sends the gzip and the client unzips it. If not, the server unzips it first.
And the CPU usage already happens today when clients request data.gpx, because the server unzips every file requested with .gpx.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7124#issuecomment-4636376377
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/7124/c4636376377 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260605/703c42d0/attachment.htm>
More information about the rails-dev
mailing list