Current time: 08-07-2020, 11:27 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Amazing 8.8 s time to first byte with WordPress
10-27-2011, 10:48 PM
Post: #2
RE: Amazing 8.8 s time to first byte with WordPress
Ahh, wordpress and first byte times - quite a recurring theme.

Almost all wordpress first byte problems come from database calls (and it doesn't necessarily matter the number of posts). Each and every plugin you install can make several database calls for every page load so make sure to disable any plugins that you don't really need.

Once you are down to the minimal plugins you need you will need to figure out which database queries are causing the problem. You can either look at the MySQL slow query logs or use a WP plugin that logs the database calls. Once you know what the slow calls are you can add indexes to the database to help them (assuming the database itself isn't just performing horribly).

You can also mostly hide the problem my using a caching plugin (W3 Total Cache or SuperCache are popular ones). They will cache the database calls and generated HTML pages so that when a non-logged-in user visits they can be served a page without having to make any database calls.

Sometimes it can also be caused by plugins that are making back-end calls out to other services but those are less common.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Amazing 8.8 s time to first byte with WordPress - pmeenan - 10-27-2011 10:48 PM

Forum Jump:


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