Mobile app version of vmapp.org
Login or Join
Kristi941

: Unexplained long Time To First Byte My wordpress blog is getting a grade F for TTFB on webpagetest.org: http://www.webpagetest.org/result/140905_20_PRX/ with a TTFB of over 800ms. I cannot explain

@Kristi941

Posted in: #Apache #Php #Wordpress

My wordpress blog is getting a grade F for TTFB on webpagetest.org: www.webpagetest.org/result/140905_20_PRX/
with a TTFB of over 800ms. I cannot explain it. Indeed, I use a CloudFlare CDN, apc for PHP, Total Cache plugin, KeepAlive connection and I get a grade A on YSlow.

Plus, CURL shows a much faster TTFB :

sam@ubuntu:~$ curl -o /dev/null -w "Connect: %{time_connect} TTFB: %{time_starttransfer} Total time: %{time_total} n" mywebsite

results: Connect: 0,063 TTFB: 0,137 Total time: 0,220

So, can I trust webpagetest.org ? It is supposed to be pretty reliable but I have doubts. Anyone experienced slow TTFB without knowing why ?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Kristi941

1 Comments

Sorted by latest first Latest Oldest Best

 

@Cugini213

webpagetest.org tests reflect a user loading a page in a web browser - the results can vary from time to time for many reasons that will be out of your control. Following their tips will help you to improve this, though I would strongly recommend carefully thinking about when and how you load javascripts to reduce TTFB.

Read more:


Feed the Bot: PageSpeed - Render-blocking Javascript
Google PageSpeed Insights: Remove Render-blocking Javascripts


Sometimes if your page has a large amount of content it can be beneficial to only include the introduction paragraphs and content in the page itself and then use AJAX to load into a div element the remaining content later on.

While CloudFlare can improve reliability, unless you are on a paid service you may not see a significant performance increase in Europe/U.S. unless you are using a low specification web server, typically the significant performance increases will be seen when testing from China, Brazil, India etc.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme