cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <>
Subject Re: svn commit: r156143 - cocoon/trunk/src/java/org/apache/cocoon/generation/ cocoon/trunk/status.xml
Date Fri, 25 Mar 2005 19:56:03 GMT
Vadim Gritsenko wrote:
> Leszek Gawron wrote:
>> Sorry for such a long delay. I had been busy lately.
>> Vadim Gritsenko wrote:
>>> Also, private static cache map should go in favor of the store 
>>> component. Otherwise, larger site might simply run out of memory 
>>> 'cause JXTemplateGenerator ate all of it.
>> I'm not into store component usage. Could you give me some directions?
>> What should I take into consideration when building a key for storing 
>> a compiled script?
> Key should be unique. So if you prefix it with something like "jxtg:" 
> and add source URI of the template, and source key, it should be good 
> enough.
> Reason for the source key - we want to cache all variations of the 
> template even if they are created from the same source URI.
Yep, I got that.

>> I know there are different stores in cocoon (transient/persistent). 
>> Which implementation can we use?
> Is it Serializable? 
not now.

> Does it make sense to preserve cached templates 
> across sever restarts? 
not sure

> Does it take much time to re-parse template if it 
> is lost from the store? 
The reparsing speed is just fine. OT I wonder why we never persisted 
XSPs though.

Let's go with transient store first.

Leszek Gawron                                                 MobileBox                    

View raw message