Hi all,
I've built a site (in SS 2.4.7) for a client to use as a knowledgebase and, as such, it contains a vast number of pages with much more hierarchical depth than your average site.
We've been having speed issues which may be a result of hosting on Dreamhost, but I've noticed that the menu system seems to affect the page load speed greatly.
A page with the menu switched on takes about 6-8 seconds to load, but the same page with the menu switched off takes about 2 seconds.
I'm concerned this means each page load is having to dig the whole content of every page out of the database so it can populate the menu with all the Titles of every sub page!
The menu is a fairly standard 'Suckerfish' style flyout, with about six levels of depth, and I've attached my template code for you to check out. Please let me know if you spot anything dodgy in there that could help.
I wonder if there might be a way to delay the populating of deeper levels of the menu until someone actually hovers over the menu?
Any advice on dealing with this kind of site in SS will be much appreciated.
BTW, am getting YSlow scores of about 83-94 so the site overall should be pretty speedy I think.
Cheers!