Hi,
I’m developing a site that have ( by the moment ) around 70 documents structured in a 6 levels depth tree
level 1
- level 2
- - level 3
- - - level 4
- - - - level 5
- - - - - level 6
Each time I click to edit or save a document, all the page is refreshed and the tree is regenerated again to focus the actual resource being edited. But it take some seconds refreshing each parent/childs. It shows a "loading" animation for each one of the 6 elements if i’m editing an element in level 6... I think it should be improved.
Someone with the same problem?
I’ll try to increase memory, thanks.
PHP Version 5.2.14
LiteSpeed V5.4
MySQL 5.0.91
(shared hosting)
Intel(R) Xeon(R) CPU 5130 @ 2.00GHz
Memory: 4145656k/4980736k available (2176k kernel code, 46624k reserved, 901k data, 228k init, 3276160k highmem)
Linux 2.6.18-194.11.3.el5PAE #1 SMP i686 i686 i386 GNU/Linux
I have a problem I’m solving now with sysadmins, while they do it I was thinking... I think ( i’m not sure! ) the tree childs are requested each time we click an element. Won’t be a better idea to get the entire tree in the first load and have it cached? Something could be developed to refresh the tree only if needed or refresh it on request. I hate it but, TYPO3 do it.
Quick update/Quick create is a patch. Everytime we need to reload page or tree, the tree needs a lot of time to be completely expanded. I really think it must be solved anyway and I really believe it can be done...
-
MODX Staff
- 10,725 Posts
Have you tried turning on the cache_database option to see if this significantly improves the performance?
I have enabled it, cleared cache, cleared browser cache. Tried it in Chrome and Firefox and the result is the same. The right zone is loaded firstly and then, once it has finished loading, the tree start loading child by child.