Page 1 of 3
Page Load Times
Posted: Wed Dec 13, 2006 11:50 pm
by polarduality
Hello,
I am new to the forums and to CMS Made Simple.
I have installed a test installation and I love the application itself.
However, I am noticing a delay in page load time. It takes 2-3 seconds for each page to load and the pages don't even have any content. I thought maybe it was just my installation but I visited a lot of the sites posted under "CMS Show Off" and I am noticing the same problem. It is not a huge issue but a page with no content shouldn't take 2-3 seconds to load.
This is the only thing that is holding me back from completely embrasing this great software
Is there anything I can do to optimize the page load time?
Re: Page Load Times
Posted: Thu Dec 14, 2006 1:23 am
by tstrokes
Page load can be effected by the number of modules installed. You can sometimes imporve the page load of cmsms by uninstalling the modules you aren't using.
-tstrokes
Re: Page Load Times
Posted: Thu Dec 14, 2006 4:59 am
by cyberman
Try to DELETE all you can (modules, tags, unused translations) ...
Re: Page Load Times
Posted: Thu Dec 14, 2006 12:51 pm
by tsw
Server load also affects page creation time
one site (not on my server)
first load:
reload:
other site (on my server)
first load:
reload:
Ive never really had any speed problems except for one server (small, cheap hosting which didnt even allow ssh) so I switched to other server.
Re: Page Load Times
Posted: Thu Dec 14, 2006 2:16 pm
by cyberman
There are big differences between providers and their hosting packages.
I know (cheap) hostings with 1000 User on one server. This will slow down CMSms.
But I know hostings too with a nice price and only 50 Users on one server. These packages should prefered.
Re: Page Load Times
Posted: Sun Dec 17, 2006 12:53 pm
by Pierre M.
Re: Page Load Times
Posted: Wed Dec 20, 2006 2:18 pm
by cyberman
polarduality wrote:
Is there anything I can do to optimize the page load time?
If you are sure your hosting accout has gzip support you can try to change line 35 in index.php from
to
Re: Page Load Times
Posted: Wed Dec 20, 2006 5:15 pm
by swgreed
nice tweak! thanks!

Re: Page Load Times
Posted: Wed Dec 20, 2006 6:22 pm
by moorezilla
Wow! This gzip call seems to make my site a lot faster! Nice tip!
Re: Page Load Times
Posted: Wed Dec 20, 2006 10:52 pm
by Ted
Though, keep in mind that CMSMS is not getting any faster by doing this. The only thing it does is compress the data before it's sent from the server to the browser. In reality, it's actually using a few more CPU cycles to do the compression. If this is really making it faster, then you should be looking at ping times to your server. It could be a bandwidth issue.
Re: Page Load Times
Posted: Thu Dec 21, 2006 12:31 pm
by cyberman
Another hot parameter is
Persistant connections are faster. You can try to set it to true. Don't forget "Clear Cache".
But be aware that this can make sometimes trouble with CMSms.
Re: Page Load Times
Posted: Sun Dec 24, 2006 1:11 pm
by moorezilla
gahh... yeah... all this tinkering really displays how much better it is to have access to a dedicated server if you can get one... as if that's a shock to anyone.
I have one cmsms site on a dedicated machine with eaccelerator, multiple database connections, and a high php_memory limit, and it hasn't displayed any performance issues at all. I have some other ones running on vhosts at an ISP and they vary widely in their performance.
Re: Page Load Times
Posted: Mon Jan 08, 2007 12:46 pm
by cyberman
Another option could be my cache project
http://dev.cmsmadesimple.org/projects/cache/
It makes output of {content} and {stylesheet} tag static. Content and stylesheet are stored in a zipped file.
I've made a simple test on my playground with 500 news module calls (inside content)
With default content tag
With my ccontent tag
For cached content (means {ccontent} tag) you can set a lifetime too so you can use it for dynamical content.
Please check it out ...
Re: Page Load Times
Posted: Mon Jan 08, 2007 2:56 pm
by moorezilla
This is great!
Is this the sort of cache option that Ted mentions in the overview of 2.0? If not, maybe this should be rolled into the core?
am
Re: Page Load Times
Posted: Mon Jan 08, 2007 3:17 pm
by cyberman
moorezilla wrote:
Is this the sort of cache option that Ted mentions in the overview of 2.0?
Don't know ... I've tried to code only a solution around the existing content tag. Think Ted will hide this option inside the core

.