Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:34
BIG multi-level menus are slow
Poster: sonic
Dated: Tuesday June 25 2002 - 11:12:31 BST
Menu has 89 submenus over 5 levels but the browser takes a few seconds to render this. Is there any way to speed this up or am I asking too much!
I am using Coldfusion to generate the javascript from a menu database and this is really fast. I store this in a session variable when user logs in and then I simply bash out the text on every page where menu is needed.
The thing that slows everything down is the dumpmenus command which has a lot of work to render all the menus.
Is there any way to generate the actual DHTML code the menu needs with all the div and layer commands as I'm sure this would speed things up.
Poster: theking __at__ mysecretbase.com
Dated: Thursday June 27 2002 - 7:15:09 BST
I use CFX_GZIP and CF_GZipPage on a setting of 9 to compress the bejesus out of the CF-rendered page, (my menu output is not in a separate file) which in turn seems to solve the speed problem. I noticed what you're describing when I started getting into the 250-page range (also several 5-deep branches).
This cleared the problem right up.