View Full Version : Are menus with many options a real problem for loading speed?

01-31-2010, 06:23 AM
I have a page that features six tabs; inside each tab is a double-menu system that allows a total of approximately 700 options (PHP generated), and a small picture in each tab that changes depending on the selection. This obviously leads to a lot of options (700 option menu system in each of 6 tabs). As a result, the page size is shown as 398 kb. Considering this appears to be almost entirely a result of the menus, and not images (there are hardly any at this point), will this have as bad an effect on the load speed or functionality?

02-01-2010, 05:29 PM
Surely it will. Javascript is no lean-and-mean language; it's all interpretive, nothing compiled, so it's slow by nature, and then you hand it a large task, it's going to dog down slower computers.

02-01-2010, 07:14 PM
If you have 700 options in a menu, that is too many from a UI perspective. Perhaps it needs to be broken apart more? Have fewer options on each page that are specific to the area the user is in. That way the pages are smaller. At 400KB a page view in just HTML you will chew through your bandwidth on your host like crazy. Not to mention it will make the pages load a lot slower for everyone since it is so large.