colouring-cities / colouring-core

The Core Platform for the Colouring Cities Research Programme (CCRP)
https://colouringcities.org
GNU General Public License v3.0
48 stars 43 forks source link

Improve cache invalidation #1304

Open edwardchalstrey1 opened 2 years ago

edwardchalstrey1 commented 2 years ago

Automatically generate a list of tiles that need to be re-cached after a visual style is changed

matkoniecz commented 2 years ago

To be more clear, right now edit invalidates all map styles - not only relevant ones

For code see https://github.com/colouring-cities/colouring-london/blob/e12b544503a5e5ba302387a8c2bddee1a5be514d/app/src/api/services/building/tileCache.ts and https://github.com/colouring-cities/colouring-london/blob/e12b544503a5e5ba302387a8c2bddee1a5be514d/app/src/tiles/tileCache.ts#L110

polly64 commented 10 months ago

@matkoniecz should we keep in core?

matkoniecz commented 10 months ago

yes