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

consider flushing tile cache of specific area to remove outdated rendered data #1001

Closed
matkoniecz opened this issue Nov 24, 2023 · 6 comments
Labels
service:tiles The raster map on tile.openstreetmap.org

Comments

@matkoniecz
Copy link

matkoniecz commented Nov 24, 2023

Some areas, sadly quite large, are stuck with outdated rendering due to how tile expire cache works.

I know that #987 will solve it for new cases if enabled

I know that it will take relatively long time to refresh it, but it may be worth doing as otherwise invalid renderings may stay for relatively long. Maybe flush cache of the most populated western parts of the area, while keeping eastern parts with some rare invalid data?

Was discussed with @Firefishy - got directed here to keep things triaged and in issues

(hopefully I managed to keep balance between being too cryptic and giving a manual)

@tomhughes
Copy link
Member

Which cache are you talking about? The render cache or the CDN cache?

@Firefishy
Copy link
Member

I think we will wait until #987 is fully deployed before any cache invalidation.

@Firefishy Firefishy added the service:tiles The raster map on tile.openstreetmap.org label Nov 24, 2023
@Firefishy
Copy link
Member

The render cache or the CDN cache?

It is primarily a render cache issue.

@tomhughes
Copy link
Member

There is a new carto release (openstreetmap/chef#639) that I will likely deploy next weekend which will have the side effect of marking everything dirty.

@Firefishy
Copy link
Member

With and New carto release pushed. All old tile are now marked dirty and the issue shouldn't repeat.

@matkoniecz
Copy link
Author

matkoniecz commented Dec 2, 2023

Thanks for a fix! That was a really annoying problem


I also updated https://wiki.openstreetmap.org/wiki/Browser_cache#Exceptions


See openstreetmap/chef@a7d7bb9 causes relations to trigger rerender per https://community.openstreetmap.org/t/topic/106281/5 for what fixed it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service:tiles The raster map on tile.openstreetmap.org
Projects
None yet
Development

No branches or pull requests

3 participants