Very slow websites

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Speakmat
New Member
New Member
Posts: 2
Joined: Wed Feb 17, 2010 3:26 pm

Very slow websites

Post by Speakmat »

Hi,
I use CMS MS for most of my websites. All the different websites (10 in total) run on one dedicated server with the folowing specs: Intel Quad Core CPU 2,66 Ghz, 4 GB Ram.
The load time of the different pages is very slow (6 till 9 seconds). There have probably been more topics about the speed in the past but I couldn't find the right answer so far.

My questions:
- Is a loadtime between 6 and 9 seconds normal behaviour for websites running on cms ms?
- Does anyone have suggestions about what can be the cause of the slow sites?

A few examples of my sites:
http://www.guidothys.nl/index.php?page=contactgegevens
http://www.nextnext.nl/index.php?page=n ... ef-02-2010

Thanks for the replies!

Regards Stefan.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Very slow websites

Post by Wishbone »

Is it 6-9 seconds for page load or page generation? You can tell how long it took to generate the page by viewing the source in the browser and scrolling to the bottom. One of your sites generated this info at the bottom:

Code: Select all

<!-- 0.287417 / 75 / 7446424 / 7944008 -->
The first time is how long (in seconds) it took for CMSms to do it's work. Any extra time it took is how long it took for the internet to get it to you, plus any slowness your ISP has. in your case, the page took only 1/5 of a second to create the page, but it took 4 seconds (internet slowness) for me to see it.... The extra 4.8 seconds can't really be helped, short of ensuring that your web servers are as close to the clients as possible.

I have the misfortune of having some of my sites on GoDaddy, who overload their web and mysql servers, and some pages take 10-20 seconds to generate.
JeremyBASS

Re: Very slow websites

Post by JeremyBASS »

I pick up the first page at the 6-9 sec range here in Idaho... but pages after that seems to come pretty quick.  Now.. you have 742.k of stuff... if you take care of some of your image just but optimizing them you could gain on your deadload.

Smushed 13.30% or 74.66 KB from the size of your image(s) in ySlow for FF.  and I bet you could do much more.. I make very image heavy sites and they almost never get pasted 450k with all the swfs images and JS libs...

That is where I'd start... Cheers
Jeremy
Last edited by JeremyBASS on Wed Feb 17, 2010 5:21 pm, edited 1 time in total.
Speakmat
New Member
New Member
Posts: 2
Joined: Wed Feb 17, 2010 3:26 pm

Re: Very slow websites

Post by Speakmat »

Thanks for your replies.

Wishbone, I didn't know about generating times at the bottom of the sourcecode. That was helpfull! It seems generation of my pages goes very quick indeed but can you explain the following:

I made a static html page (test.html) which has the same content as the first page I mentioned (http://www.guidothys.nl/index.php?page=contactgegevens), i put this page in the wwwroot of my website (so, on the same server) and I do a request for that page in my browser (http://www.guidothys.nl/test.html). I get response within a second.
If generation of my cms ms page takes only 1/5 of a second then the whole page must load in maybe a second.

Jeremy, you're right. I can optimize teh images but I think this is not the main reason for the slowness. Considering the test I did there must be a second reason which causes a major delay. Any other ideas?
JeremyBASS

Re: Very slow websites

Post by JeremyBASS »

Try this.. drop the stylesheet for a static css file, and work on the image size... also pull the protoype js from google’s CDN... you do these 3 things and you'll a big jump in speed... you could drop almost 200kb plus putting all you style in one sheet will jump up the speed as well... I put up a net shoot... Cheers -J
Attachments
Untitled-1.png
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Very slow websites

Post by Rolf »

try the static_stylesheet tag. grtz. rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Maarten
Forum Members
Forum Members
Posts: 84
Joined: Sat May 06, 2006 9:52 am

Re: Very slow websites

Post by Maarten »

Hi Stefan,

This is indeed not normal CMSMS behaviour. Are there external includes in that page? If you want a test account on another server to check if it's a server problem just send me a message.

(my servers are located in the Netherlands ;) )
Last edited by Maarten on Mon Feb 22, 2010 6:56 pm, edited 1 time in total.
Post Reply

Return to “CMSMS Core”