cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pier Fumagalli <p...@betaversion.org>
Subject Re: Nesting/Aggregating generator...
Date Tue, 24 Aug 2004 20:55:44 GMT
On 24 Aug 2004, at 20:41, Giacomo Pati wrote:
> On Tue, 24 Aug 2004, Pier Fumagalli wrote:
>
>> A generator always knows its input (its a file) and can verify 
>> whether it's valid, if it is, then the "<include src=...>" 
>> declaration in there will not be changed, so it can also verify 
>> whether its included files are valid or not...
>
> The CInclude is able to include Cocoon pipeline URIs (which will have 
> a certain dynamic nature). How does the Generator know about their 
> cachability?

It uses the SourceResolver.

If the resolved source eturns a SourceValidity, then it'll be added to 
the ones to check, and so on and so forth, if it returns null, well, 
the output of the generator is non-cachable (unfortunately).

	Pier

Mime
View raw message