<div dir="ltr"><div><div>hello Fenoy,<br><br>So I think that the best solution for my 
case is the global definition, as they are simple to layers 
consultations. If I had different requirements, they could enable them 
locally for service, for example, if I wanted to chain. This solution 
you propose, already implemented in zoo?<br><br></div>Best regards<br></div>Pablo</div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-03 10:23 GMT-03:00 Fenoy Gerald <span dir="ltr"><<a href="mailto:gerald.fenoy@geolabs.fr" target="_blank">gerald.fenoy@geolabs.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Venka,<br>
indeed that was it.<br>
<br>
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:<br>
<br>
in the main.cfg file in the main section add a lifetime key which can take the following values:<br>
<br>
 * XXh meaning that after XX hours the cached file will be removed<br>
 * XXm meaning that after XX minutes the cached file will be removed<br>
<br>
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.<br>
<br>
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.<br>
<br>
I hope to hear back from you Pablo to know if this solution may fits your needs.<br>
<br>
Best regards,<br>
<br>
> Le 1 nov. 2015 à 02:11, Venkatesh Raghavan <<a href="mailto:raghavan@media.osaka-cu.ac.jp">raghavan@media.osaka-cu.ac.jp</a>> a écrit :<br>
><br>
> Hi Gerald and All,<br>
><br>
> On 2015/11/01 6:29, Fenoy Gerald wrote:<br>
>> Hi Pablo,<br>
>> 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…<br>
> I see that you had a great Training Session at Dakar and<br>
> that MapMint (which uses ZOO at its core) worked like<br>
> a charm. I saw some of the impressive maps that the participants<br>
> could publish during your training session.<br>
>> 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.<br>
><br>
> I think the mail below from Farkas was the one your were searching<br>
> <a href="https://lists.osgeo.org/pipermail/zoo-discuss/2013-March/000940.html" rel="noreferrer" target="_blank">https://lists.osgeo.org/pipermail/zoo-discuss/2013-March/000940.html</a><br>
><br>
> Best<br>
><br>
> Venka<br>
> _______________________________________________<br>
> Zoo-discuss mailing list<br>
> <a href="mailto:Zoo-discuss@lists.osgeo.org">Zoo-discuss@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/zoo-discuss" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/zoo-discuss</a><br>
<br>
<br>
<br>
Gérald Fenoy<br>
<a href="http://wiki.osgeo.org/wiki/User:Djay" rel="noreferrer" target="_blank">http://wiki.osgeo.org/wiki/User:Djay</a><br>
<br>
_______________________________________________<br>
Zoo-discuss mailing list<br>
<a href="mailto:Zoo-discuss@lists.osgeo.org">Zoo-discuss@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/zoo-discuss" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/zoo-discuss</a></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><b><font color="#3366ff"><i>Pablo J. Zader</i></font></b></div><div><b><font color="#3366ff"><i>Lic. en Cs. de la Computación</i></font></b></div><div><i style="color:rgb(51,102,255);font-size:12.8000001907349px"><b><a href="mailto:pablo.zader@gmail.com" target="_blank">pablo.zader@gmail.com</a></b></i><br></div><div><b><i><font size="1"><br></font></i></b></div><div><b><i><font size="1">"Los Grandes Hombres hablan sobre ideas...<br> Los Hombres Promedio hablan sobre cosas...<br> Los Hombres Pequeños hablan.. de otros Hombres.<br><br></font></i></b><div><b><i><font size="1">del libro Matemática estas ahi? A. Paenza "</font></i></b></div></div></div></div></div></div>
</div>