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
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to