Getting ready to Drop C5. Server response times are very slow

Permalink 1 user found helpful
We recently relaunched our own website using C5.7.

The best server response time we have achieved is 2.98s - averaging about 3.3s. (With caching on)
When the cache is rebuilding this goes up to 11.87s.

This is running on our own server where other CMS driven sites are responding on average in about 50ms.

We have optimised the MySQL server, upgraded PHP to 5.4.38. Disks and memory are checked.

By removing all blocks from a page we're getting a response time of about 1s which is still slow.

Any help would be gratefully received.

Kind regards,

Jeremy

Environment Info:

# concrete5 Version
Core Version - 5.7.3.1
Version Installed - 5.7.3.1
Database Version - 20150109000000
# concrete5 Packages
Fruitful (1.1.1), ProBlog (2.1.0), Thumb Gallery (1.0.2).
# concrete5 Overrides
languages/ja_JP, languages/tr_TR, languages/sl_SI, languages/fr_FR, languages/el_GR, languages/ru_RU, languages/nl_NL, languages/it_IT, languages/de_DE, languages/fi_FI, languages/sv_SE, languages/da_DK
# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).
# Server Software
Apache

 
goodnightfirefly replied on at Permalink Reply
goodnightfirefly
How many pages are in your Autonav?
icebluesky replied on at Permalink Reply
Hi,

There's 7 pages in the Autonav:http://www.icebluesky.com/

:) Jeremy
goodnightfirefly replied on at Permalink Reply
goodnightfirefly
7 shouldn't be causing a problem at all, so I don't think its that.

Try setting Full Page Caching to On - In all cases.
icebluesky replied on at Permalink Reply
The response times are with ALL caching enabled
goodnightfirefly replied on at Permalink Reply
goodnightfirefly
Your environment info indicates your Full Page Caching is "On - If blocks on the particular page allow it.".

There is another option below that for On - In all cases.
JohntheFish replied on at Permalink Reply
JohntheFish
Full page caching could be ignored if you are logged in as admin. Best to check times for general users, not admin.
icebluesky replied on at Permalink Reply
Just to clarify - the server response times I gave are Time to First Byte.
JohntheFish replied on at Permalink Reply
JohntheFish
One gotcha that leads to really bad response time is if the web server and database server do not reside on the same hardware. If every db request has to go across a network, that slows a site down massively. The same applies to any database driven cms, not just c5.
icebluesky replied on at Permalink Reply
Thanks JohntheFish - both reside on the same server :(
Phallanx replied on at Permalink Reply
Phallanx
50ms?

That would be for static HTML or page cached. I'm not even sure Apache can achieve that with no pages to serve. :P

The only way you could get anywhere near that is with full page caching on (and working). Then typically on a real site you get 200-600 ms TTFB with a fast server. Without full page caching 600-1200 milliseconds (for 5.6) is usual and at least triple that for 5.7.
icebluesky replied on at Permalink Reply
Typo! 500ms
Phallanx replied on at Permalink Reply
Phallanx
@icebluesky

500ms makes much more sense:

You have the figures now from my own benchmarking. If 500ms is the only criteria then , in my opinion, getting full page caching (FPC) operating is the only way to get there (and will probably beat it). If it's a ball-park figure and FPC is not an option then 5.6 will get you most of the way but 5.7 will not in it's current form.
ramonleenders replied on at Permalink Reply
ramonleenders
The only slow page seems to be the homepage? Remove some blocks in your page type or something and see if something makes it faster? The other pages load pretty fast on my side, so... not sure if it's the whole C5 installation having problems here!
WebcentricLtd replied on at Permalink Reply
hi,
can you optmise your images? I'm sure I just saw onethat is 420k plus another that was over 200k.
WebcentricLtd replied on at Permalink Reply
that said your time to first byte on my test was over 2 seconds - something not right there...
WebcentricLtd replied on at Permalink Reply
if you test pagehttp://www.icebluesky.com/our-work...
its a completely different story ttfb = .4 seconds. total page of 4.9 mb loads in under 2.5 seconds.

What blocks, plugins etc do you have in use on the homepage?