Skip to content
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 #1707

Open
sau0409 opened this issue Feb 26, 2025 · 1 comment
Open

Cache invalidation #1707

sau0409 opened this issue Feb 26, 2025 · 1 comment
Labels

Comments

@sau0409
Copy link

sau0409 commented Feb 26, 2025

I would like to know for possible solutions for invalidation of cached tiles. When I update any feature in my DB, it doesn't reflect on UI, even after refresh on UI.

My setup
UI <-> MARTIN <-> POSTGIS

1 solution is setting cache_size to 0, but that impacts performance badly.

@nyurik
Copy link
Member

nyurik commented Feb 26, 2025

One option is to actually use something like Varnish in front of Martin - this way you can do any custom caching and purging logic, while keeping Martin's cache at 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants