My sample app for dynamic menus without Javascript has Velocity caching set
to "false" by default.   See:

net.sf.navigator.displayer.velocity.properties

class.resource.loader.cache = true
webapp.resource.loader.cache = true

Changing values to "true" speeds things up a lot.

Danny, perhaps you would like to profile this again with caching switched
on.  If things are still too slow, then perhaps you can provide an
indication of where the bottleneck appears to be.

My own profiling shows that (not unsurprisingly) most of the time is spent
in:

net.sf.navigator.displayer.VelocityMenuDisplayer.displayComponents()

net.sf.navigator.displayer.LocalDirective.render()












______________________________________________________________________

----ONLINE-SERVICES-------------------------------------------
Find out more about our services or login at
http://www.scottishequitable.co.uk

-----EXISTING-BUSINESS-CONTACTS-------------------------------
08456 10 00 10 Pensions & investments ([EMAIL PROTECTED])
08456 10 00 52 Final salary pension schemes
08456 10 00 01 Online services ([EMAIL PROTECTED])
08456 00 14 02 Protection ([EMAIL PROTECTED])

**************************************************************
Scottish Equitable plc
Registered Office: Edinburgh Park, Edinburgh EH12 9SE.
Registered in Scotland (No. 144517).
Authorised and Regulated by the Financial Services Authority.
Telephone: 0870 242 6789
**************************************************************

______________________________________________________________________


                          EMAIL DISCLAIMER

This message is for the intended recipient only. It may contain
confidential or proprietary information. If you receive this message in
error, please immediately delete it, destroy all copies of it and notify
the sender.
You must not use or disclose any part of this message if you are not the
intended recipient. We may monitor all Email communication through our
networks.

If you contact us by Email, we may store your name and address to
facilitate communication.

Any views expressed in this message are those of the individual sender,
except where the message states otherwise.

We take reasonable precautions to ensure our Emails are virus free.
However, we cannot accept responsibility for any virus transmitted by us
and recommend that you subject any incoming Email to your own virus
checking procedures.





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
struts-menu-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Reply via email to