You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Timm, Sean" <ST...@mailgo.com> on 2000/02/12 02:23:55 UTC
XSL Caching???
Cocoon appears to be caching off XSL sheets and not checking if the files
have changed. This is causing a great deal of difficulty when we are
working on our stylesheets (and XSP taglib) because we have to restart
Cocoon every time anything changes. Is this the expected behaviour?
I noticed that the XSLT processor is attempting to pull "stylesheet" from
the parameters object and returns it if it is there, but I couldn't find
where this gets stuffed in. It seems to me that it should check a timestamp
like the caching system does...
Any help with this would be greatly appreciated! I've pulled my hair out
for several hours on more than one occasion due to a caching issue
already...
- Sean T.
Re: XSL Caching???
Posted by Stefano Mazzocchi <st...@apache.org>.
"Timm, Sean" wrote:
>
> Cocoon appears to be caching off XSL sheets and not checking if the files
> have changed. This is causing a great deal of difficulty when we are
> working on our stylesheets (and XSP taglib) because we have to restart
> Cocoon every time anything changes. Is this the expected behaviour?
No, consider it a "non-implemented but highly wanted" feature.
> I noticed that the XSLT processor is attempting to pull "stylesheet" from
> the parameters object and returns it if it is there, but I couldn't find
> where this gets stuffed in. It seems to me that it should check a timestamp
> like the caching system does...
It already does for normal XSLT stylesheets... as I told in the previous
message, XSP Processor doesn't use the Cocoon cache (which is a shame, I
know).
> Any help with this would be greatly appreciated! I've pulled my hair out
> for several hours on more than one occasion due to a caching issue
> already...
If normal stylesheet reloading doesn't work, it's a bug. It should
already work.
For XSP, any help in making the XSP processor use the cocoon cache will
be very welcome.
--
Stefano Mazzocchi One must still have chaos in oneself to be
able to give birth to a dancing star.
<st...@apache.org> Friedrich Nietzsche
--------------------------------------------------------------------
Come to the first official Apache Software Foundation Conference!
------------------------- http://ApacheCon.Com ---------------------