Intent-to-ship: Early Hints Preload and Modulepreload for Fx123

359 views
Skip to first unread message

Manuel Bucher

unread,
Jan 26, 2024, 12:12:36 PMJan 26
to dev-pl...@mozilla.org

We intent to enable Early Hints Preload in Fx123. Early Hints is the informational status code 103, allowing servers to send resource Link headers before the final HTTP response. An experiment on Early Hints preload and modulepreload headers in Early Hints responses ran in release version 121 with overall positive results. Link headers with relation "rel=preload" with asset types "fetch", "font", "image", "script", "stylesheet", or relation "rel=modulepreload" are preloaded.

Bug: https://bugzil.la/1874445

Standard:
 - https://html.spec.whatwg.org/multipage/semantics.html#early-hints
 - https://www.rfc-editor.org/rfc/rfc8297

Platform coverage: all

Preference: Early Hints Preload and Modulepreload is behind the pref "network.early-hints.enabled". When set to true preload requests are made as soon as the Early Hints reply arrive.

Other Browsers:

- Blink: Shipped in 103

Demo: Test website simulating the effect of Early Hints Preload with an artificial delay between 103 and 200 responses: https://lab.neon.rocks/1000/eh/images-100.html

Reply all
Reply to author
Forward
0 new messages