Skip to content

Commit

Permalink
Update firstInterimResponseStart to note what 0 means for Early Hints (
Browse files Browse the repository at this point in the history
  • Loading branch information
tunetheweb authored Mar 1, 2024
1 parent da480cf commit a49a33c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ There is no _end_ property for `firstInterimResponseStart`.
The `firstInterimResponseStart` property can have the following values:

- A {{domxref("DOMHighResTimeStamp")}} immediately after the browser receives the first interim bytes of the response from the server.
- `0` if the resource was instantaneously retrieved from a cache.
- `0` if the resource sent no interim response
- `0` if the resource is a cross-origin request and no {{HTTPHeader("Timing-Allow-Origin")}} HTTP response header is used.

**Note:** As Early Hints are typically only supported on the main navigation request, which is by definition same-origin, a `0` typically indicates Early Hints were **not** used.

## Examples

### Measuring request time
Expand Down

0 comments on commit a49a33c

Please sign in to comment.