Current time: 01-22-2020, 04:01 PM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to improve Time To First Byte?
02-28-2011, 10:59 PM
Post: #2
RE: How to improve Time To First Byte?
The first byte time is usually slow because of back-end processing that is done to generate the pages themselves (usually the actual guts of the application/site).

207ms is quite a respectable first byte time though. 80ms of that is the round trip time (I usually just look at the socket connect time as a reasonably good barometer of the RTT to the server). The other 130ms is the time it takes your server to process the request and includes forking processes, starting up whatever interpreter the site uses (php, etc assuming it's not a static HTML file), etc.

If you're not already doing it, the one place that you have control in the application is to "flush early" and send as much of the document as possible before doing any back-end processing (the document head and beginning of the document if at all possible). Getting much faster from where you are is probably going to be an exercise in tuning the web server and application environment itself (and possibly even switching web server platforms if you can't get LiteSpeed to where you want it to).

Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: How to improve Time To First Byte? - pmeenan - 02-28-2011 10:59 PM

Forum Jump:

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