Skip to content

Limit client side requests? #473

Answered by bdon
koufopoulosf asked this question in Q&A
Oct 5, 2024 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

The issue of potentially unlimited egress fees due to bots isn't unique to PMTiles, it can happen with video files, GeoJSON files or any kind of static asset on storage. So any solution isn't specific to PMTiles either, there are hosted solutions like AWS Web Application Firewall, or you can use Cloudflare or a unmetered bandwidth server like from OVH.

If the webview framework uses MapLibre GL JS and you are using addProtocol to decide tiles on the client, it should cache according to TTL on the client if it's Safari or non-windows chrome.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@koufopoulosf
Comment options

@bdon
Comment options

bdon Oct 7, 2024
Maintainer

Answer selected by koufopoulosf
@koufopoulosf
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #471 on October 07, 2024 02:21.