Re: [gdal-dev] Understanding VSI caching

2018-04-09 Thread Even Rouault
On lundi 9 avril 2018 21:03:12 CEST Andrea Aime wrote: > On Mon, Apr 9, 2018 at 8:58 PM, Even Rouault > > wrote: > > Which disk caching are you refering too ? There's some disk caching for > > the > > WMS driver, but that's all > > "In addition, a global

Re: [gdal-dev] Understanding VSI caching

2018-04-09 Thread Andrea Aime
On Mon, Apr 9, 2018 at 8:58 PM, Even Rouault wrote: > Which disk caching are you refering too ? There's some disk caching for the > WMS driver, but that's all > > "In addition, a global least-recently-used cache of 16 MB shared among all downloaded content is enabled

Re: [gdal-dev] Understanding VSI caching

2018-04-09 Thread Even Rouault
> I read there was some caching, but was not that specific. So, memory > caching is there, it's per file, > but not enabled by default, Yes > while disk caching is there, global, and > enabled by default? Which disk caching are you refering too ? There's some disk caching for the WMS driver,

Re: [gdal-dev] Understanding VSI caching

2018-04-09 Thread Andrea Aime
On Mon, Apr 9, 2018 at 6:43 PM, Even Rouault wrote: > Hi Andrea, > > Are you speaking about the cache machanism enabled with the VSI_CACHE=YES > env variable ? > I read there was some caching, but was not that specific. So, memory caching is there, it's per file, but

Re: [gdal-dev] Understanding VSI caching

2018-04-09 Thread Even Rouault
On lundi 9 avril 2018 18:33:32 CEST Andrea Aime wrote: > Hi, > is there any document explaning how VSI caching works. E.g., memory vs disk > caching, whether the disk cache > is long lived or exists only for the duration of the process (and if so, > what about long lived processes > like mapserver

[gdal-dev] Understanding VSI caching

2018-04-09 Thread Andrea Aime
Hi, is there any document explaning how VSI caching works. E.g., memory vs disk caching, whether the disk cache is long lived or exists only for the duration of the process (and if so, what about long lived processes like mapserver fastcgi?) and so on? Cheers Andrea == GeoServer Professional