Jeremy Quinn wrote:


On Wednesday, September 24, 2003, at 04:33 PM, Vadim Gritsenko wrote:


Bruno Dumon wrote:

On Wed, 2003-09-24 at 15:51, [EMAIL PROTECTED] wrote:

Hi,

does anybody have any idea why calling the setup method for some
transformers (like the stylesheet transfomer) takes up to 200 milliseconds?
The execution of the transformer is comparably fast (60 ms), but we get a
performance problem when we chain stylesheet transfomers which need 200 ms
each for the setup.


Any help would be appreciated!


Set the use-store parameter in the cocoon.xconf to true, to enable caching of compiled stylesheets. It is false by default.


Is there still a reason why it set to false? It's true in Cocoon 2.0... And I bet you can't get into production with 2.1 without enabling it...


Surely this setting means that XSLT will not reload-on-change, unless cocoon is restarted?


No, that's not true. It will reload. Why it would not, it always did a reload on change? But it will cache compiled stylesheets in a transient store.

Vadim




Reply via email to