Site very slow - Help please

Permalink 3 users found helpful
Hi, I'm currently working onhttp://twl.limegreentangerine.net/... and experiencing some very very slow loading times.

The C5 installation is 5.4.1.1, with a couple of modified blocks (autonav, page_list, and some external forms)

I have gzip working through htaccess, and even with full page caching on, stats turned off, non-editable css, and google cdn on jquery, I get ridiculously slow loading times. The actual page load is small, but when looking at the NET settings in firebug, the page seems to hang and waits from anything as little as 1 second, up to over 60 seconds...

Any ideas on this would be much appreciated.

Adam

adz
View Replies: View Best Answer
Phallanx replied on at Permalink Reply
Phallanx
It looks to me like you do not have "Keep-alive" turned on.
Check your httpd.conf file for something like this
KeepAlive On
KeepAliveTimeout 5


If it is off then turn it on.
adz replied on at Permalink Reply
adz
Hi Phallanx, thanks for the reply, that can be done on my internal dev, but I don't think we have access to the httpd.conf files on the hosting server...
Phallanx replied on at Permalink Reply
Phallanx
Then you can request the host check that they are enabled.

See this excellent set of performance tuning notes for details on how bad a sites performance can be without it turned on.
http://sandbox.fortechitsolutions.ca/pmwiki.php/Testing/May-2011-c5...
adz replied on at Permalink Best Answer Reply
adz
Phallanx, just wanted to say many thanks for trying to help, but found this:

http://andrewembler.com/web/improving-the-performance-of-zend-cache...

And this has solved the problem, even with cache turned off in the admin section, this was still causing issues, but with:

define('CACHE_FRONTEND_OPTIONS', serialize(array('automatic_cleaning_factor' => 0)));


set in the config/site.php, the site is zipping along dramatically faster! If anyone is having problems with a slow loading site, this is your solution!
Phallanx replied on at Permalink Reply
Phallanx
@adz
Indeed it maybe faster. But I wouldn't have said over 10 seconds to load was acceptable for such a site. I would guess it would be sub 5 seconds with keep-alive turned on. But if your happy; that's all that counts.

http://www.webpagetest.org/result/110526_3Q_PJRB/1/details/...
adz replied on at Permalink Reply
adz
Hey Phallanx, I had two different ones up,http://twl.limegreentangerine.net... had some mods from your Miser on it, but not KeepAlive,http://twl2.limegreentangerine.net... has the script with the automatic cleaning factor set to 0.
Phallanx replied on at Permalink Reply
Phallanx
@adz
lol. I'm not a mind reader :P So I will change my comment from "over 10 seconds" to "about 10 seconds"

That site has an error 404 as well as what appears to be no keep-alive.
http://www.webpagetest.org/result/110526_1B_PKE6/1/details/...
DominicWhiteStudio replied on at Permalink Reply
DominicWhiteStudio
This is the first solution to the slow load times I have seen that actually showed immediate improvement. On godaddy my non cached pages when from a 20 second to 8 second load time and my cached pages went from 10 seconds to 3. Still slower than wordpress sites I'm running, but this fix finally put my fears to rest about offering CS5 to my clients. Thank you for posting it!
TherealBarabbas replied on at Permalink Reply
TherealBarabbas
I'm going to give these tips a try, I'm on Dreamhost and have never had a problem with load times for my other two sites, but now with this one using Concrete5 load times are painfully slow.
senshidigital replied on at Permalink Reply
senshidigital
This seems to work. Noticed a difference straight away!

Well done!
TherealBarabbas replied on at Permalink Reply
TherealBarabbas
Noticed a big improvement with IE, Firefox still sucks at the load tho....
mobiledataforce replied on at Permalink Reply
mobiledataforce
Also observed large performance increase! Thanks! This just kept some additional hairs on my head!
eugen replied on at Permalink Reply
eugen
Excellent, thank you limegreentangerine
mlipenk replied on at Permalink Reply
I know... I'm replying to an old post. But adz' code addition to site.php solution greatly helped increased the slowness a client site of mine was having running C5 vers. 5.5.2.1.

It is like night and day! THANK YOU!