Problem updating the rendering when overwriting a file #816
-
Titiler is a great tool but I was wondering: is there a way to clear the cache so that when a file is overwritten the preview is updated? I am using the default app in jupyter notebooks and even if I re-execute the cell, the image stays the same after a file is overwritten. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi @odhondt This has been previously discussed here but I can't find the ticket. you can check rasterio/rasterio#2181 and rasterio/rasterio#2209 |
Beta Was this translation helpful? Give feedback.
There is no direct
fix
in TiTiler itself.You could may do something like
ref: https://github.com/developmentseed/tilebench/blob/main/tilebench/viz.py#L140
You may also add
VSI_CACHE=False
andGDAL_CACHEMAX=0
in your environment to force GDAL not too cach…