cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: [Ann/RFC] Virtual Sitemap Components
Date Mon, 11 Apr 2005 20:55:49 GMT
Sylvain Wallez wrote:
> Vadim Gritsenko wrote:
> 
>> It can be
>>   <map:components>
>>     <map:generators>
>>       <map:virtual name="a">

...

> Good point. So let's go for <map:virtual-blah> in <map:components>.

Note: I never suggested virtual-blah :-)
I prefer map:generator, while map:virtual will be an ok option too.


>> We should have configurable caching, 
>> with following levels of caching:
>>
>>   * No Caching: Returns null key
>>   * Caching: Returns pipeline key, validity
>>   * Caching, with private cache: Same as above, plus caches output of 
>> the pipeline locally (same as caching pipeline).
> 
> 
> I'm wondering if we need this level of choice. If the surrounding 
> pipeline isn't caching, key and validity will never be computed. Also, 
> if we want to specifically cache the output, we can use the 
> caching-point pipeline in the caller's pipeline.
> 
> So in the end, looks like we just need a caching pipeline.

It will be a good start. I've not thought trough all use cases so don't have 
strong opinion on what more will be needed.

Vadim

Mime
View raw message