[Zoo-discuss] keep the empty cache
Fenoy Gerald
gerald.fenoy at geolabs.fr
Tue Nov 3 05:23:51 PST 2015
Hello Venka,
indeed that was it.
So Pablo, the original idea was to define a life time for the cache and this can be defined in the ZCFGs for each service individually, obviously we may think also of a global definition in the main.cfg file for, let say a default life time. I would like to propose the following:
in the main.cfg file in the main section add a lifetime key which can take the following values:
* XXh meaning that after XX hours the cached file will be removed
* XXm meaning that after XX minutes the cached file will be removed
I suppose that it is not required to go under the minutes as it means in such a case that you don’t want to cache anything, in such a case you simply have to remove the cacheDir key from your main section then the ZOO-Kernel will not cache anything.
For the ZOO-Services and their corresponding ZCFG I propose to use the same syntaxe as previously presented. The rule would be that, if there is something defined in the ZCFG then the main.cfg is not taken into account, in other case the main.cfg value will be taken as default.
I hope to hear back from you Pablo to know if this solution may fits your needs.
Best regards,
> Le 1 nov. 2015 à 02:11, Venkatesh Raghavan <raghavan at media.osaka-cu.ac.jp> a écrit :
>
> Hi Gerald and All,
>
> On 2015/11/01 6:29, Fenoy Gerald wrote:
>> Hi Pablo,
>> I do apologize for so late reply, I was busy presenting the MapMint 2.0 product during one week of training here in Senegal. This is the main cause of the late reply, in fact I just read your email right now…
> I see that you had a great Training Session at Dakar and
> that MapMint (which uses ZOO at its core) worked like
> a charm. I saw some of the impressive maps that the participants
> could publish during your training session.
>> I remember having a huge discussion on this some years ago, I think it was with Farkas which was willing at that time to become a ZOO-Project developper but I cannot find the thread again, let me try to find it tomorrow when I will be back to my home town and I will go back to you.
>
> I think the mail below from Farkas was the one your were searching
> https://lists.osgeo.org/pipermail/zoo-discuss/2013-March/000940.html
>
> Best
>
> Venka
> _______________________________________________
> Zoo-discuss mailing list
> Zoo-discuss at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/zoo-discuss
Gérald Fenoy
http://wiki.osgeo.org/wiki/User:Djay
More information about the Zoo-discuss
mailing list