Skip to content

Conversation

@quinncnl
Copy link
Contributor

@quinncnl quinncnl commented May 9, 2025

Tracestrack Maps recently started providing webp tiles. webp is widely supported and has better compression. It loads faster without noticeable quality degradation. This is the preferred way to serve tiles.

openstreetmap/openstreetmap-website#5996

@tomhughes
Copy link
Member

Checking https://caniuse.com/webp the main question mark is MacOS/iOS which have only supported webp since 2020 but that's probably good enough.

@tomhughes
Copy link
Member

Can you rebase this please so that the tests can run?

@quinncnl
Copy link
Contributor Author

Just synced!

@tomhughes tomhughes merged commit 002e6d7 into openstreetmap:master May 15, 2025
1 check passed
@quinncnl
Copy link
Contributor Author

quinncnl commented May 30, 2025

Hi @tomhughes do you know why some users still use png url even today? Is the change fully propagated to CDN? I see logs like the following:

175.176.33.XXX - - [30/May/2025:17:43:19 +0000] "GET /topo__/14/13696/7519.png?key=383118983d4a867dd2d367451720d724 HTTP/3.0" 403 0 "https://www.openstreetmap.org/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:138.0) Gecko/20100101 Firefox/138.0" "en-US,en;q=0.5"

@tomhughes
Copy link
Member

Well I'm sure people will be using old versions of this code for many years to come, or just copy and pasting the URL to other systems, and some of them may be devious enough to fake the referer as well.

@quinncnl
Copy link
Contributor Author

I see. In that case I'll be allowing png access for this key longer and monitoring the png usage separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants