Not sure if this goes in here - picked it because it is sort of a usability issue. Please let me know if it needs to be moved.
Basically, I want to speed up my cmsms site:
http://www.shareworld.co.uk
The average load time for me is 3.1 seconds for the homepage: I have a fast dell laptop, 2mb virgin broadband.
Some people have told me the page takes 8 seconds to load on their system.
My site is packed out - it has alot of images (although they are all optimized) a few JS scripts and alot of global content blocks, various modules etc.
Just wondering if any one has any good tips for speeding the site up?? Or what are likely the biggest contributors in it running slow?
How to speed up my cmsms site
Re: How to speed up my cmsms site
Hi!
It loaded immediately. No problems whatsoever.
However, you might try this:
http://www.websiteoptimization.com/services/analyze/
It gives you a detailed analysis of the objects on your page.
hth,
Alex
It loaded immediately. No problems whatsoever.
However, you might try this:
http://www.websiteoptimization.com/services/analyze/
It gives you a detailed analysis of the objects on your page.
hth,
Alex
Re: How to speed up my cmsms site
If it's a root server or the feature is available, enable something like eAccelerator. It's like a cache, just for your PHP and provides a real boost! You might also want to cache you DB queries. However, initial rendering of pages will not be that much faster, but afterwards, the site will run really fast.
Best
Nils
Best
Nils
Re: How to speed up my cmsms site
NHAAK:
how do I cache my db queries?
FAGLORK:
I have tried that site - its VERY helpful! After doing an analysis I discovered I had alot of images - so optimised all of them, that helped. Also it said I had alot of objects - but I need them all so couldnt do anything about that.
I also made an enquiry into their paid for services, but they were looking to charge upwards of $3000 for their services, so that was a bit out of my budget!!
Since making this post, I also cleared alot of white space in my coding, and I realised that although sub-menus were hidden via css, they were actually displaying in my html code, after removing them as well, I cut my homepage html from 20kb to 15kb and with all the above changes, have increased load time on homepage (on my home broadband) from 3.2s to 2.7 so Im pretty happy now.
Would like to learn about chaching though...
how do I cache my db queries?
FAGLORK:
I have tried that site - its VERY helpful! After doing an analysis I discovered I had alot of images - so optimised all of them, that helped. Also it said I had alot of objects - but I need them all so couldnt do anything about that.
I also made an enquiry into their paid for services, but they were looking to charge upwards of $3000 for their services, so that was a bit out of my budget!!
Since making this post, I also cleared alot of white space in my coding, and I realised that although sub-menus were hidden via css, they were actually displaying in my html code, after removing them as well, I cut my homepage html from 20kb to 15kb and with all the above changes, have increased load time on homepage (on my home broadband) from 3.2s to 2.7 so Im pretty happy now.
Would like to learn about chaching though...
Re: How to speed up my cmsms site
To enable caching for your db queries you need to be able configure your mysql installation. This article might be of your interest as a starting point: http://www.mysql.com/news-and-events/ne ... 00108.html. If you use postgres, there are surely quite a few according documents in the net.
Luckily, I had someone configure my mysql installation for me, as I wouldn't have known what to do exactly.
Always a good try is to enable debugging in the config.php. There you see the single actions CMSMS takes to generate the page combined with a time stamp in chronological order. There you can see what is actualy munching time during page generation.
And you should definitely use a PHP caching like eaccelarator (http://eaccelerator.net/). Ask your hosting provider if they provide something like that. It helped me to make page generation times 10 times faster on the average.
Remove unused modules, plug-ins and languages, see if you really need all those global content blocks or if you can realize the same functionality with more flexible templates. Search the forum for "Tuning"
What is your hosting environment? Is it a root server or shared web host (often, cheap providers provide only very limited resources and poor tuning options).
If it's loading times you worry about (probably later), I can really recommend Charles (http://www.charlesproxy.com/) to you for a detailled analysis. It's a great tool.
Best
Nils
Luckily, I had someone configure my mysql installation for me, as I wouldn't have known what to do exactly.
Always a good try is to enable debugging in the config.php. There you see the single actions CMSMS takes to generate the page combined with a time stamp in chronological order. There you can see what is actualy munching time during page generation.
And you should definitely use a PHP caching like eaccelarator (http://eaccelerator.net/). Ask your hosting provider if they provide something like that. It helped me to make page generation times 10 times faster on the average.
Remove unused modules, plug-ins and languages, see if you really need all those global content blocks or if you can realize the same functionality with more flexible templates. Search the forum for "Tuning"
What is your hosting environment? Is it a root server or shared web host (often, cheap providers provide only very limited resources and poor tuning options).
If it's loading times you worry about (probably later), I can really recommend Charles (http://www.charlesproxy.com/) to you for a detailled analysis. It's a great tool.
Best
Nils