cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jos Snellings <>
Subject Re: XSLT import/include errors
Date Mon, 24 Jun 2013 07:57:03 GMT
Hi Francesco et al,

Good idea. Where would you put the lever to switch LRU cache on/off?
- sitemap?
- cocoon spring configuration files?

So, the context is limited to developers who want to keep seeing instant
results ...


On Mon, Jun 24, 2013 at 9:43 AM, Francesco Chicchiriccò <
> wrote:

> On 22/06/2013 11:25, gelo1234 wrote:
>> And of course I'm using noncaching pipeline :)
>> When I make a change in the main XSL file (that from sitemap), the change
>> is visible.
>> When I make a change in any of the imported/included (from main XSL) XSL
>> file, the change is not visible. Cocoon serves
>> the Content from cache.-- Francesco Chicchiriccò ASF Member, Apache
>> Syncope PMC chair, Apache Cocoon PMC Member**
>> ilgrosso/ <>
> Hi,
> this has nothing to do with pipeline caching: with pipeline caching, the
> whole pipeline execution is cached (in memory, by default) and thus
> subsequent calls to the same pipeline won't trigger any pipeline component
> execution.
> What is causing you headaches (same did to me) is a local LRU cache
> managed by some SAX components, including the XSLTTransformer [1]; as you
> can see from the load() method, in fact, only the last modified timestamp
> of the main XSLT file is taken into account for deciding whether the cached
> template should be read.
> The local LRU cache is very useful in production but very annoying during
> development: I guess it should stay enabled by default - as currently - but
> also given the possibility to switch it off via some configuration
> parameter: who wants to file an issue on JIRA and provide a patch? ;-)
> Regards.
> [1]**asf/cocoon/cocoon3/trunk/**
> cocoon-sax/src/main/java/org/**apache/cocoon/sax/component/**
> --
> Francesco Chicchiriccò
> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.**<>
> For additional commands, e-mail:

We should be careful to get out of an experience only the wisdom that is
in it - and stay there, lest we be like the cat that sits down on a hot
stove-lid.  She will never sit down on a hot stove-lid again - and that
is well; but also she will never sit down on a cold one any more.
        -- Mark Twain

View raw message