Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate early hints https://tools.ietf.org/html/rfc8297 #1225

Closed
ricea opened this issue Apr 28, 2021 · 6 comments
Closed

Integrate early hints https://tools.ietf.org/html/rfc8297 #1225

ricea opened this issue Apr 28, 2021 · 6 comments
Labels
addition/proposal New features or enhancements topic: http

Comments

@ricea
Copy link
Collaborator

ricea commented Apr 28, 2021

Early hints are a mechanism permitting servers to indicate resources that might need to be preloaded before the final status and response headers are ready. This is implemented using the "103 Early Hints" status code. The protocol standard is here: https://tools.ietf.org/html/rfc8297.

Chrome is experimenting with early hints as an alternative to HTTP/2 push to reduce latency, without the complexity and traps of HTTP/2 push. Early results are promising.

Early hints will need to be integrated into the Fetch Standard processing model to ensure interoperability. This issue is to track that effort.

@noamr
Copy link
Contributor

noamr commented Feb 10, 2022

I can take on some of the spec'ing of this in fetch if needed, or help out if someone else is already taking it on.

@ricea
Copy link
Collaborator Author

ricea commented Feb 10, 2022

@noamr That would be a big help. I dropped the ball on this one.

@noamr
Copy link
Contributor

noamr commented Feb 10, 2022

The IETF mentions only Link headers as possible early hints. Are there any other early hints @ricea? I believe that we should spec link headers together with early hints, or spec link headers first.

@bashi
Copy link
Contributor

bashi commented Feb 14, 2022

My understanding is that 103 responses can contain arbitrary headers (unless these are explicitly disallowed). +1 to focus on link headers first.

@domenic
Copy link
Member

domenic commented Sep 14, 2022

I think this is done?

@bashi
Copy link
Contributor

bashi commented Sep 14, 2022

Yeah I think this can be closed. In the HTML spec we may want to relax the restriction (https://crbug.com/1361262) in the future but I think we can file another issue on the HTML spec.

@annevk annevk closed this as completed Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition/proposal New features or enhancements topic: http
Development

No branches or pull requests

5 participants