use caching. http://server:8080/cocoon/docs/userdocs/concepts/caching.html
----- Original Message ----- From: "Stephan Coboos" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 19, 2004 2:25 PM Subject: Re: where to store a large XML > [EMAIL PROTECTED] wrote: > > >hi people > > > >i have a .xsp that read from a database and create a .xml file that > >describe a tree, then the data from this xml are transformed to a > >javascript tree > > > >the problem is that i need the xml data from the database in each request > >to create the tree (navigation tree) but some times those data produce a > >.xml with 7000 - 10000 nodes. so i have to wait some minutes to ge a > >responce. > > > >my question is: > > > >where can i store temporary the produced XML (i can not use file system) > >so not to have to call .xsp in each request? > >is it possible to store the tree in SESSION ? > > > > > WriteDOMSessionTransformer should be your friend: > http://cocoon.apache.org/2.1/userdocs/transformers/writedomsession-transform er.html > > Regards > Stephan > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
