TTFB (12 secs +)

Hi there - hoping for a bit of assistance with narrowing down the cause of a slow page-load.

I’m experiencing very high TTFB: http://www.webpagetest.org/result/140724_JQ_4860c243743e5389099ea543d6aa26da/

I’ve setup a static html page which loads quickly and was hoping someone could help identify whether the slow loading is server-based or something else.

Many thanks in advance.

I noticed that you have Apache. You have something in the backend that is taking a long time to load. Usually a DB call, or 3rd party plugin.

Could you add the following PHP command in your “static” html: <?php flush(); ?> after the Legalease Law Journals | Commercial Litigation | Employment | Family | Personal Injury | Property | Procurement & Outsourcing | Trusts and Estates Law & Tax

I’m pretty sure it’s either the theme, or the CMS you are using.

The initial response from your server is really slow, are you using shared hosting or something similar?

Even if you fix I’m guessing you’re going to have a slow rendering page due to the number of CSS files etc.

Thanks both - and apologies for the delay in response - bit of a running theme here!

I’ve tried php flush and no real impact. I’m pretty sure it’s something to do with the server setup (shared and out of my hands) so really just looking to rule out any settings or frontend based issues that I could potentially resolve.

Here is a trick. Create a blank HTML file, upload it and run a WPT. If you have the same TTFB time, it’s your shared hosting, if not, we can trouble shoot from there.

You might not have flushing enabled. php flush not working - Stack Overflow

Thanks Marc - significantly lower TTFB on that static one: WebPageTest Test - Running web page performance and optimization tests...

Appreciate your assistance.

Tada :slight_smile: I ran a test, and your site is responding better. Let me know if you need anything else.