I have a menu that is created using sql server and asp. The menu loads very slowly when I add the code to generate the departments. There are 587 departments and I wonder if the menu can't handle this amount of 3rd level hierarchy. I really like the menu system and have found it fairly easy to work with. I would appreciated any help in speeding it up.
You can check up my mock up site at damar worldwide mockup. The links are not yet operational on this page so please don't try them.
Thanks for any help!
Cari
Slow loading menu and response once loaded.
Hi Cari,
At least part of the slow response may be due to the release you're using. You are currently using RC19. Back then, all of the menus were built at load time... lots of menus = longer load time. With recent releases (can't recall exactly which one), the approach was changed so that each menu is built at run time, when it is needed. So, if you update to the current release, I would think that your page will load faster. Since the current release, RC30, is 11 past what you are using now, you should not be surprised if you have to make some other minor changes to your menu code to get it to behave the way you want. But if you have trouble, you'll find help here.
Hope that helps,
Kevin
At least part of the slow response may be due to the release you're using. You are currently using RC19. Back then, all of the menus were built at load time... lots of menus = longer load time. With recent releases (can't recall exactly which one), the approach was changed so that each menu is built at run time, when it is needed. So, if you update to the current release, I would think that your page will load faster. Since the current release, RC30, is 11 past what you are using now, you should not be surprised if you have to make some other minor changes to your menu code to get it to behave the way you want. But if you have trouble, you'll find help here.
Hope that helps,
Kevin
Similar problem
I'm having a similar problem with submenus with large number of items.
I eliminated all overfilters and outfilters on these menus, but still have two long delays that occur:
(1) When the page loads. I create 27 submenus, with a total of about 4,700 items between them. This takes over 30 seconds on a reasonably fast machine. I have cached the text I put into the submenus, and verified that downloading that text isn't the cause of the delay. By the way, I think the delay occurs during drawmenus() and not in the repeated calls to aI().
(2) The first time a submenu with a lot of items is viewed. It took 24 seconds for the "S" menu in the example referenced below.
After that, things work great. When you revisit the "S" menu, it comes up instantly.
SO .. I'm wondering if there are any suggestions for how to overcome the two big delays. For example, are there some options that cause an n-squared process when building/originally rendering the menus that I can turn off?
The sample at 68.165.67.114/menuslow.htm has about 400 "S" items on the menu but 10 or fewer for other letters. This decreases the page load delay (item 1 above) but aptly demonstrates the first-time-viewed delay (item 2 above). If the URL doesn't work for you, please contact me and I'll update it for you.
Thanks.
I eliminated all overfilters and outfilters on these menus, but still have two long delays that occur:
(1) When the page loads. I create 27 submenus, with a total of about 4,700 items between them. This takes over 30 seconds on a reasonably fast machine. I have cached the text I put into the submenus, and verified that downloading that text isn't the cause of the delay. By the way, I think the delay occurs during drawmenus() and not in the repeated calls to aI().
(2) The first time a submenu with a lot of items is viewed. It took 24 seconds for the "S" menu in the example referenced below.
After that, things work great. When you revisit the "S" menu, it comes up instantly.
SO .. I'm wondering if there are any suggestions for how to overcome the two big delays. For example, are there some options that cause an n-squared process when building/originally rendering the menus that I can turn off?
The sample at 68.165.67.114/menuslow.htm has about 400 "S" items on the menu but 10 or fewer for other letters. This decreases the page load delay (item 1 above) but aptly demonstrates the first-time-viewed delay (item 2 above). If the URL doesn't work for you, please contact me and I'll update it for you.
Thanks.
Menu takes at least 6 seconds to load. **Update.
I have upgraded to the latest version of the milonic menu and am still having trouble with the menu taking a long time to load. Once it is loaded it does move much quicker, but of course every time you move to a new page the menu takes forever to load again.
site specs: Asp, sql server
The menu pulls the categories, subcategories, and departments from the sql server database.
Is there anyway to cache the menu to at least speed up the subsequent pages?
Thanks for your help,
Cari
http://www.damarww.com
http://www.lightbulbdepot.com
site specs: Asp, sql server
The menu pulls the categories, subcategories, and departments from the sql server database.
Is there anyway to cache the menu to at least speed up the subsequent pages?
Thanks for your help,
Cari
http://www.damarww.com
http://www.lightbulbdepot.com
The sample at http://68.165.67.114/menuslow.htm is still Version 5.0 Release Candidate 28.0.
The only way to cache the menu is to put the data inside a .js file. This fil will be cached locally.
Cheers
Andy
The only way to cache the menu is to put the data inside a .js file. This fil will be cached locally.
Cheers
Andy
Some speed up, but not enough
I upgraded to the latest version (just now), and things are definitely faster, but not fast enough. The load-time processing for the example (now at http://68.164.85.33/menuslow.htm) takes about 73 seconds and then there's about a 30 second delay to bring up one of the menus (I rigged it up to be the one with the "s" words) for the first time. After that, the menu comes up instantly.
Alas, with delays like these, I really do hope there's some trick to speeding things up.
Thanks
Alas, with delays like these, I really do hope there's some trick to speeding things up.
Thanks