Current time: 03-09-2021, 02:18 AM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
First Byte Time “FBT” findings and research results
07-30-2015, 11:03 PM
Post: #13
RE: First Byte Time “FBT” findings and research results
Cloudflare is a CDN by any definition. They also do other things but they operate in a pull mode, cache static resources and serve them directly from globally distributed edge nodes.

As far as the target TTFB being unrealistic for CDN's - yes, it's unfortunate and I am considering a few options to make it better but when the base page is served through a CDN it throws off a bunch of the calculations. From the client side, in order to estimate the server processing time you need to remove the network round trip time (usually a function of the distance to the server). Unfortunately with a CDN, the round trip time is to the CDN edge and not the origin server (additionally, if the CDN does not maintain a persistent connection to the origin it may be hiding a DNS lookup and socket connect in the "server time" as well). WPT targets 100ms of server processing time when setting the target (which is totally achievable). In the case of connecting to a CDN I may just put in a fixed 250ms estimated server RTT which is enough to allow the origin to be on the other side of the world and still provide a reasonable target.

As to images impacting TTFB, in theory and on a well configured server it should have zero impact since the back-end doesn't know or care about the images when serving the html (in most cases). If the server is bandwidth constrained, out of clients to handle responses or otherwise not configured well then it's possible that the image requests for other users is using server resources and slowing down the tested TTFB. If the application logic for the base page actually opens and parses the images before serving the html then that could also cause an impact. In either case the root cause should be addressed rather than optimizing the images to improve TTFB. The images should absolutely still be fixed because that will impact the user experience, your bandwidth, etc - it just shouldn't be targeted for TTFB optimizations.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: First Byte Time “FBT” findings and research results - pmeenan - 07-30-2015 11:03 PM

Forum Jump:

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