-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load PMTiles tiles faster #50
Comments
We've configured Cloudflare to cache requests, which you can see when doing the same request twice: time curl -I 'https://tiles.queeringthemap.com/basemap/11/1240/1031.mvt' First time:
Second time:
The first time is quite slow: 3.43 seconds, the cached URL is only 0.125 seconds. |
Great to have caching – 0.125 seconds is flying! |
Instinctively 3.4 seconds seems slow (and, as we've discussed, feels slow too). Could you do a comparison to the PMTiles from the Protomaps organisation (e.g. https://maps.protomaps.com/) and also MapTiler? That can give us a baseline for what we can hope to aim for. |
Agreed on the slowness. With a lot of traffic I also think we'd be hitting the cache a lot. But that's quite handwavey. |
Cloudflare is serving the PMTiles tiles.
But we notice that the tiles can be slow to load.
Investigate and improve how fast those tiles are served.
The text was updated successfully, but these errors were encountered: