Overv / openstreetmap-tile-server

Docker file for a minimal effort OpenStreetMap tile server
Apache License 2.0
1.19k stars 482 forks source link

Stop tile cache invalidation #370

Open haymansfield opened 1 year ago

haymansfield commented 1 year ago

I've used your excellent image to serve a map and I pregenerated all the tiles I needed to improve performance.

After a period of time it appears to have invalidated all of my tiles and the performance is back to precached levels.

Is it possible to configure the system to never invalidate cached tiles?

nielsole commented 1 year ago

Do you have automatic updates turned on? The only thing I could find was this: https://github.com/openstreetmap/mod_tile/blob/master/src/store_file.c#L192 Although I remember there should an option that allows you to render dirty tiles without waiting for rerendering.