Hi.
My site is a two user site; anonymous or logged user.... can't i create a 
"cachedLayout" for both of them (for example for the user with userName 
anonymous and password anonymous and another with username root password root) 
so that i can load only one time the layout and use always them without to call 
getDefaultLayout at every new request?
If i can do this... can you suggest how i can operate this change?
 Thanks.







---------- Initial Header -----------

>From      : "Ralph Goers" [EMAIL PROTECTED]
To          : [email protected]
Cc          :
Date      : Tue, 25 Oct 2005 07:23:36 -0700
Subject : Re: Increasing Cocoon Portal speed at stat-up

> >
> > Angelo Immediata wrote:
> >
> > >Hi.
> > >My site is a service oriented portal; i have several application developed 
> > >by using cocoon and integrated under the cocoon-portal block.
> > >Every application is a page (a named-item in the 
> > >portal-user-anonymous.xml). Moreover i have a double navigator.
> > >I attach to this mail all my profiles directory in order you can see the 
> > >structure (it's a .rar file, you need winrar in order to decompress it).
> > >My question, now, is... why to convert layout into object and not to use 
> > >SAX in order to read the xml files?.
> > >
> > >
> > >
> > I haven't looked at your files yet, but to answer the question - The 
> > portal needs to access the layout on each and every request.  I'm pretty
> > sure that parsing the files every time would be even worse than what you
> > are experiencing.  I'm not too familar with the internals of Castor, but
> > I'd bet that it uses SAX to read the xml files.
> >
> > Ralph
> >
> > ---------------------------------------------------------------------
> > 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]