Skip to content

Commit

Permalink
Update description
Browse files Browse the repository at this point in the history
  • Loading branch information
tunetheweb committed Nov 7, 2024
1 parent 8980976 commit a9e2d23
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1010,10 +1010,13 @@ export interface TTFBAttribution {
*/
requestDuration: number;
/**
* The total time from the first byte of the response was received until the
* first byte of the document was received. This will only be non-zero for
* servers using Early Hints and where browsers support sending this additional
* timing. This time is after the TTFB metric.value.
* The total time, after TTFB, after which the document started to be
* received (i.e. when the document HTTP headers start to artive).
* This will only be non-zero for servers using Early Hints and where
* browsers support sending this additional timing. It is the time between
* the Early Hints first response (TTFB) and when the actual document
* response started and is useful to understand how much later the document
* TTFB is from the actual TTFB.
*/
documentDuration: number;
/**
Expand Down
11 changes: 7 additions & 4 deletions src/types/ttfb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,13 @@ export interface TTFBAttribution {
*/
requestDuration: number;
/**
* The total time from the first byte of the response was received until the
* first byte of the document was received. This will only be non-zero for
* servers using Early Hints and where browsers support sending this additional
* timing. This time is after the TTFB metric.value.
* The total time, after TTFB, after which the document started to be
* received (i.e. when the document HTTP headers start to artive).
* This will only be non-zero for servers using Early Hints and where
* browsers support sending this additional timing. It is the time between
* the Early Hints first response (TTFB) and when the actual document
* response started and is useful to understand how much later the document
* TTFB is from the actual TTFB.
*/
documentDuration: number;
/**
Expand Down

0 comments on commit a9e2d23

Please sign in to comment.