Skip to content
New issue

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

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

Already on GitHub? # to your account

support for HTTP/2 PRIORITY_UPDATE instead of HTTP/2 PRIORITY ? #22

Open
gstrauss opened this issue Mar 14, 2023 · 2 comments
Open

support for HTTP/2 PRIORITY_UPDATE instead of HTTP/2 PRIORITY ? #22

gstrauss opened this issue Mar 14, 2023 · 2 comments

Comments

@gstrauss
Copy link

Is there a table for support for HTTP/2 PRIORITY_UPDATE instead of HTTP/2 PRIORITY ?

RFC 9113 HTTP/2 5.3.2. Priority Signaling in This Document deprecates HTTP/2 PRIORITY frame.

The suggested replacement for PRIORITY frame is the PRIORITY_UPDATE frame.
RFC 9218 Extensible Prioritization Scheme for HTTP

@pmeenan
Copy link
Contributor

pmeenan commented Mar 14, 2023

The test doesn't care how the priority is set, just that the origin supports whatever the browser uses. i.e. it should work out-of-the-box for HTTP/3 with no changes.

That said, the test could probably use an update to explicitly set fetchpriority=low for the offscreen images and fetchpriority=high for the on-screen test images so that the initial priority is correct and it doesn't require an update.

@gstrauss
Copy link
Author

Thanks! I suppose this can be closed.

Modern browsers should support PRIORITY_UPDATE, though middle boxes might not yet support HTTP/2 SETTINGS_NO_RFC7540_PRIORITIES.

I know you wrote https://blog.cloudflare.com/http-2-prioritization-with-nginx/ back in 2018. Hopefully, support for prioritization in origin web servers has improved with PRIORITY_UPDATE (RFC 9218 published June 2022). I added PRIORITY_UPDATE support to lighttpd 1.4.65 (released June 2022).

The Servers section of https://github.com/andydavies/http2-prioritization-issues appears to be a pending TODO.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants