On 24 Aug 2004, at 22:00, Giacomo Pati wrote:
On Tue, 24 Aug 2004, Pier Fumagalli wrote:
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).

Thanks for the hint, I've missed that one (MultiSourceValidity).

That's a nice trick! :-P

        Pier


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to