WebPagetest Forums
New website is slow. First Byte Time = F - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: New website is slow. First Byte Time = F (/showthread.php?tid=15277)



New website is slow. First Byte Time = F - davis-mark - 03-09-2018 10:57 AM

Hello,

I'm new to this forum. We have a month-old website, built on WordPress, hosted at SiteGround. It's slow...especially the home page.

Here are the test results:
https://www.webpagetest.org/result/180308_W4_a1d0d3ad41e4d823ba0f3547247db234/

First Byte Time gets an F. How do I improve that grade? Is that a hosting thing, or a WordPress thing?

Thanks,

Mark


RE: New website is slow. First Byte Time = F - avalanch - 03-09-2018 03:25 PM

Here you go, my recent article can get you started.
https://www.vbulletin.org/forum/showthread.php?t=326118

Code:
RewriteEngine on
  #Options +FollowSymLinks
  ################https##############
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  ################https##############

That will help with speed, also you can have cloudflare cache. I suggest for 20 days or more.


RE: New website is slow. First Byte Time = F - davis-mark - 03-10-2018 10:04 AM

Hi Avalanch,

Thanks for this information. To summarize your advice, you're suggesting that there are instances in the Wordpress code that are using "http" instead of "https" and the code provided will change these instance to "https". Is that correct? Is this a big contributor to the slow First Byte Time?

You are also recommending that we set the Cloudflare cache to 20 days or more.

Any other recommendations would be greatly appreciated.

Thanks,

Mark


RE: New website is slow. First Byte Time = F - avalanch - 03-10-2018 11:19 AM

Yes doing that will change your http links to https. There are 5 big benefits you can gain from doing this (cited in the article) and you'll be able to use Brotli via cloudflare. You should start to notice a big difference in your tests after you do this.

I don't use wordpress but the more external scripts you have, the higher the load time will be. You can use gtmetrix to see more details on potential issues. https://gtmetrix.com/reports/www.directechlabs.com/oQ5B6fUD

Oh and to avoid mixed content warnings put this in your header.

Code:
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">

More info here https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/upgrade-insecure-requests

Also you should try to host this locally
https://fonts.googleapis.com/css?family=Poppins%3A600%2C500%2C400%2C700%7CPlayfair+Display%3A400italic

Along with all of the woff fonts that it calls