Hello,
I'm running CMS 1.0.2 with MANY pages, and thats causing the listcontent.php page in the admin section to load VERY slowly. When the pages are collapsed (or when there was only a couple pages), it runs fine. But for the purpose of needing to add many pages in a large hierarchy, its too slow to even work with. Right now there is about 120 pages, running on a dedicated server (Slackware 10, 2.8Ghz, 1Gb RAM). Very little else is running on it, and everything else runs fast. Also, I set the php memory_limit to 64M, and I'm using eaccelerator.
Any ideas?
listcontent.php slow when there are many pages
listcontent.php slow when there are many pages
Last edited by qbrix on Tue Feb 13, 2007 5:43 pm, edited 1 time in total.
Re: listcontent.php slow when there are many pages
Check out the current blog entry on Shortcuts (a shameless plug
).
Give the Add Page and Collapse & List Pages tips a try!
Another little trick is to use "Apply" instead of "Submit" when saving a page so the pagelist doesn't re-display. If you open a new window to add a page, you can just close it after applying.
Give the Add Page and Collapse & List Pages tips a try!
Another little trick is to use "Apply" instead of "Submit" when saving a page so the pagelist doesn't re-display. If you open a new window to add a page, you can just close it after applying.
Last edited by chead on Wed Feb 14, 2007 1:44 am, edited 1 time in total.
Re: listcontent.php slow when there are many pages
good tips
But, after talking to Ted on irc, he seemed to think that this is irregular. Perhaps I should have mentioned that with my ~120 pages, it takes 11 seconds to load the listcontent.php when its fully expanded. Ted feels that this shouldn't be happening.

But, after talking to Ted on irc, he seemed to think that this is irregular. Perhaps I should have mentioned that with my ~120 pages, it takes 11 seconds to load the listcontent.php when its fully expanded. Ted feels that this shouldn't be happening.
-
cyberman
Re: listcontent.php slow when there are many pages
Got a modified listcontent version from another user.
Please download it here and tell me how long this version takes to load all pages.
Please download it here and tell me how long this version takes to load all pages.
Re: listcontent.php slow when there are many pages
Not much difference. Sometimes it loads a couple seconds faster, but on average its still around the same.
-
cyberman
Re: listcontent.php slow when there are many pages
Hmm, have you tried to deinstall and delete all unused modules, tags and translations (admin and modules)?
Re: listcontent.php slow when there are many pages
how would that help? other than listcontent.php, the site is VERY fast
-
cyberman
Re: listcontent.php slow when there are many pages
Don't wanna quote source here. Please make a look at listcontent.php. It requires include.php. Inside this one other files are required. Long speak, short sense ... all translations and modules are loaded by include.php. If they are deleted it MUST be faster ...
Try it or try it not - I'm trying to help you with my support skills
.
Try it or try it not - I'm trying to help you with my support skills
-
cyberman
Re: listcontent.php slow when there are many pages
Have you tried to speed up admin panel like here?
http://forum.cmsmadesimple.org/index.ph ... l#msg50882
http://forum.cmsmadesimple.org/index.ph ... l#msg50882

