Closed peerusman closed 3 years ago
@peerusman did you clean out the cache between those two runs? it looks to me like you're cache is potentially populated with tiles from two different configs.
I think cache should be on the basis on layers.
You could potentially do this by creating several maps with a single layer each and then compositing them on the client. This will require the client to make one request to the server for each "layer".
or it looks for validity if map have same layers or not else invalidate cache for that layer only rest can keep if it is not changed.
I'm not sure I understand what you're looking for tegola to do. Are you suggesting that for each tile generation operation tegola should fetch the tile from the cache if it exists, and then inspect which layers are in the cached tile and compare the layers to the ones in the generated tile to determine if the cached tile should be overwritten?
ok thanks.
in config.toml i try to create three maps One with all layers and other with one, one layers.
The mistake I did is a copy and paste, in pipelines map. i access the layer and it cashed. now I corrected my mistake
So the pipeline display with invalid tiles from other layer. I think cache should be on the basis on layers. or it looks for validity if map have same layers or not else invalidate cache for that layer only rest can keep if it is not changed.