02-05-2013, 10:24 PM
(02-05-2013, 09:19 PM)dhandler Wrote: I have noticed a steady decrease in screen load time that is tied to the left side navigation tree. When it is hidden/collapsed, the system is nice and snappy. When ShowTree=1, each page load takes several seconds.
This is obviously due to the complex folder structure we have in our system, and the way that the printFoldersTree function in the ClassUI module recursively traverses the folder structure to determine the folder access on each page load.
Has anybody figured out some ways to speed this up, other than hiding the tree? This is a major source of complaint from my users.
I thought of perhaps trying to capture the tree output in a session variable upon first login, and then just dump it back to the screen on each page load, but then a cannot properly track their navigation through the tree.
Any ideas?
I was about to replace that tree, but it turned out to be more complex than expected. I very much prefer a dynamic version which fetches the sub tree only if a folder is opened.
Uwe