![]() |
Slow Category/Product Loading |
Post Reply ![]() |
Author | |
garymike ![]() Newbie ![]() Joined: 09-May-2012 Location: United States Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() Posted: 16-May-2012 at 10:49am |
Is anyone else experiencing slow loading of the edit Categories, subcategories, or products page? Our database is quite large and has over 4000 products with about 3000 categories (including subcategories). The hierarchy is about 4 levels deep before the product is reached in some cases. When the edit category page loads it can take about 5 minutes or more just to show the entire listing before I make edits because it is loading in a depth-first manner. Is there any way that I can optimize this load time by caching this or changing the method of loading to dynamically load each node of subcategories on click? I would even be more happy with the loading if the category tree loaded in a breadth-first method. Any thoughts on this slow loading or some odd setting I may have changed would be greatly appreciated. Thanks.
|
|
![]() |
|
Hamish ![]() Admin Group ![]() Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
Hi, 3,000 categories for 4,000 products seems an unusual ratio. Please raise a support ticket so we can take a look and see if there is any specific advice we can give. In the meanwhile, if anyone else has any ideas please feel free to chip in :-)
|
|
![]() |
|
garymike ![]() Newbie ![]() Joined: 09-May-2012 Location: United States Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
I'll post a support ticket soon.
In the mean time, I've found the problem and file in question. Looking at the function ShowCatInfo of the manageCategories.asp file found in the pcadmin folder, the loading issue lies in this recursion (about line 350). The code recursively loads category nodes to maximum depth. I would really like it to load the first level (which I can do), then "on mouse click" perform the recursive load of that node i clicked on. I would think this could be implemented by changing the function to load a depth of one level. Then modify the UpDown function (which controls the plus and minus of categories) to call call ShowCatInfo of the node clicked. Any help is greatly appreciated. I'm relatively new to this system and should have a support ticket posted soon.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |