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 cocoon://lenya-page/ with cocoon://modules/menubar/ajaxmenu/ in the publication sitemap and modules-core/usecase/usecase.xmap. It has been tested only with Firefox yet. ATM the whole Lenya header is loaded asynchronously. A further improvement would be to load only the single menus on demand. This way, the server load would be reduced to the necessary minimum. And the user wouldn't even notice anything if she doesn't use the menu. -- Andreas -- Andreas Hartmann, CTO BeCompany GmbH http://www.becompany.ch --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
