List Info

Thread: Re: Asynchronous menu loading (experimental)




Re: Asynchronous menu loading (experimental)
country flaguser name
Switzerland
2007-08-23 04:18:23
Jann Forrer schrieb:
> Andreas Hartmann wrote:
>> Hi Lenya devs,
>>
>> the load test and profiling sessions showed that
the menubar generation
>> (especially the usecase precondition checks) have a
significant
>> performance impact. It can certainly be optimized,
but it will never be
>> as fast as the clean live page.
>>
>> To provide a workaround (and to get my feet wet
with Ajax) I implemented
>> a version which loads the menu asynchronously. If
you want to give it a
>> try, replace
>>
> Nice   I am
working with ajax on another project and i am curious how
> it works in cocoon/lenya.
> 
> I tried it out and I added the context prefix to the
MENU_URL (otherwise
>    the path is wrong if you use lenya with tomcat in a
non root context).

Ah, thanks a lot! BTW, actually we have to use the
OutgoingLinkRewriter
to take the proxy settings into account. I'll try to take
care of it.

> BTW: Is there a dojo logging file?

Unfortunately I didn't figure that out yet. I tried to log
to the
JavaScript console, but it didn't work. Any hints are
greatly appreciated 

-- Andreas



-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )