w3c / resource-timing

Resource Timing
https://w3c.github.io/resource-timing/
Other
119 stars 35 forks source link

Update diagram to include workerStart and QUIC #322

Closed noamr closed 2 years ago

noamr commented 2 years ago

Closes #126


Preview | Diff

yoavweiss commented 2 years ago

Could we maybe have a single diagram where the boxes for the underlying connection are arranged as:

+---------------+-------------------+
|     TCP       |        TLS        |
+-----------------------------------+
|               QUIC                |
+-----------------------------------+

Also, I think that one of the points raised in the issue is that for both cases, the request's data could be sent with the first packet, before a server response establishing the connection was received (e.g. with TCP fast open + TLS early data or TLS 0-RTT). We should probably account for that in the diagram somehow.

noamr commented 2 years ago

Could we maybe have a single diagram where the boxes for the underlying connection are arranged as:

+---------------+-------------------+
|     TCP       |        TLS        |
+-----------------------------------+
|               QUIC                |
+-----------------------------------+

Done

Also, I think that one of the points raised in the issue is that for both cases, the request's data could be sent with the first packet, before a server response establishing the connection was received (e.g. with TCP fast open + TLS early data or TLS 0-RTT). We should probably account for that in the diagram somehow.

Not sure how to put this in a diagram... will think a bit. suggestions?

yoavweiss commented 2 years ago

Maybe just a note below the diagram indicating that this could be the case?

noamr commented 2 years ago

Maybe just a note below the diagram indicating that this could be the case?

Done

yoavweiss commented 2 years ago

LGTM

noamr commented 2 years ago

LGTM

Need to also approve as reviewer 😉