-
-
Notifications
You must be signed in to change notification settings - Fork 236
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
Cache invalidation problems when database content changes #1578
Comments
Currently, restarting is the only option. While this should be pretty quick, this is not ideal (we know). See |
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: