cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [RT]: Caching
Date Fri, 09 Nov 2001 12:01:28 GMT
On 9 Nov 2001, at 9:31, Carsten Ziegeler wrote:

> ...
> 2. You can use constructs/features which are not cache-safe. For
>    example using document() inside a stylesheet is such an example.
>    OK, as we are for separation of concerns using this function
>    is evil anyway. But what about xsl:import? And there might
>    be others.
>    Now, if you use such a function and you change the included/
>    imported resource, the caching algorithm has no change to
>    detect this and therefore a response will still be served
>    from the cache and you get an old (or invalid) response
>    which does not reflect the changes.

These constructs/features are not inherently noncachable. It depends of 
implementation of XSLT Transformer. Idealy XSLT Transformer should extract list 
of included files from stylesheet and use it to construct CacheValidity.

Maciek Kaminski

To unsubscribe, e-mail:
For additional commands, email:

View raw message