Current time: 09-25-2017, 07:37 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TTFB API results/score
08-19-2017, 10:21 PM
Post: #1
Question TTFB API results/score
In the TTFB API results, it looks like the First Byte Time is being returned, but the Target First Byte Time is not included which makes calculating the letter grade impossible.

TTFB states:

The target time is the time needed for the DNS, socket and SSL negotiations + 100ms. A single letter grade will be deducted for every 100ms beyond the target.

But none of those values are included in the API payload either. So it appears that at the moment the TTFB only returns the First Byte Time and no other related information, which makes it impossible to perform calculations or figure out what the letter grade should be.

The other API values return percentages, eg:

score_cache => 63
score_cdn => 6
score_gzip => 100
score_keep-alive => 100

Can we get either:
1) a score_ttfb value returned in the API request so we don't have to perform the calculations on our end.
2) a Target First Byte Time value to go alongside the First Byte Time.

This would make using the TTFB value much easier.
Find all posts by this user
Quote this message in a reply
08-22-2017, 06:49 AM
Post: #2
RE: TTFB API results/score
The DNS, TCP and TLS times are in the results data e.g.

Code:
"dns_start": 0,
"dns_end": 295,
"connect_start": 295,
"connect_end": 327,
"ssl_start": 327,
"ssl_end": 377,

Andy

Using WebPageTest - http://usingwpt.com/
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)