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/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev