You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to know what is the recommended way to handle tile cache invalidation when database content changes? Currently I need to restart martin server to get latest data on my Mapbox page.
My setup:
Frontend: React (with Mapbox)
Tileserver: Martin
Database: PostgreSQL
Thanks!
The text was updated successfully, but these errors were encountered:
While this should be pretty quick, this is not ideal (we know).
The current draft of an API route for this would be a massive performance hit and has thus not been merged.
I keep wondering if we should kill the tile cache for now - it is more of a nuicance than help - response caching can be done much better at the load balancer or reverse proxy level (e.g. GCP Load balancer / Varnish / Nginx / ...).
The only real reason for cache (why i initially introduced it) - was to cache pmtiles directory structure so it doesn't need to be refetched for each tile
I would like to know what is the recommended way to handle tile cache invalidation when database content changes? Currently I need to restart martin server to get latest data on my Mapbox page.
My setup:
Frontend: React (with Mapbox)
Tileserver: Martin
Database: PostgreSQL
Thanks!
The text was updated successfully, but these errors were encountered: