Current time: 05-24-2018, 02:09 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New website is slow. First Byte Time = F
03-09-2018, 10:57 AM
Post: #1
New website is slow. First Byte Time = F
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/18030...7247db234/

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

Thanks,

Mark
Find all posts by this user
Quote this message in a reply
03-09-2018, 03:25 PM
Post: #2
RE: New website is slow. First Byte Time = F
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-10-2018, 10:04 AM
Post: #3
RE: New website is slow. First Byte Time = F
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
Find all posts by this user
Quote this message in a reply
03-10-2018, 11:19 AM (This post was last modified: 03-10-2018 11:48 AM by avalanch.)
Post: #4
RE: New website is slow. First Byte Time = F
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.directe...m/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...e-requests

Also you should try to host this locally
https://fonts.googleapis.com/css?family=...A400italic

Along with all of the woff fonts that it calls
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)