ba...@chromium.org, kin...@chromium.org, yhi...@chromium.org
https://tools.ietf.org/html/rfc8297
https://groups.google.com/a/chromium.org/g/blink-dev/c/DAgWIczGtG0/m/gSXvjYn-AwAJ
When a 103 Early Hints response is received during navigation and it contains link rel=preload header fields Chrome tries to preload the specified resource before the final response is received. This is a finch experiment. Chrome triggers preload for the limited percentage of traffic. Currently we don’t plan to do an Origin Trial but we might set it up if we realize we need it.
Activation
Servers send a 103 Early Hints informational response with link rel=preload header fields to ask Chrome to trigger subresource preloads before sending the final response. Chrome preloads subresources if the feature is activated by the experiment configuration.
For testing purposes the feature can also be enabled by `--enable-features=EarlyHintsPreloadForNavigation` command line flag.
To see subresource preloading triggered by Early Hints can improve page rendering performance.
M91-M95
None
Several servers/proxies may not understand a 103 response. They may treat the 103 response as a part of the final response when the response is sent over HTTP/1.1. The problem is less likely to happen over HTTP/2 thanks to their frame format. Chromium only handles 103 responses over HTTP/2 and HTTP/3.
Gecko: No signal
WebKit: No signal
Web developers: Positive
Positive interest and intent of support by popular CDNs (e.g. https://www.fastly.com/blog/faster-websites-early-priority-hints).
Yes
No. We plan to figure out what kind of web-platform-tests we should have once the spec issue is resolved. We already have browser_tests and unittests.
EarlyHintsPreloadForNavigation
https://chromestatus.com/feature/5207422375297024
Contact emails
ba...@chromium.org, kin...@chromium.org, yhi...@chromium.org
Specification
https://tools.ietf.org/html/rfc8297
Link to “Intent to Prototype” blink-dev discussion
https://groups.google.com/a/chromium.org/g/blink-dev/c/DAgWIczGtG0/m/gSXvjYn-AwAJ
Summary
When a 103 Early Hints response is received during navigation and it contains link rel=preload header fields Chrome tries to preload the specified resource before the final response is received. This is a finch experiment. Chrome triggers preload for the limited percentage of traffic. Currently we don’t plan to do an Origin Trial but we might set it up if we realize we need it.
Blink component
Activation
Servers send a 103 Early Hints informational response with link rel=preload header fields to ask Chrome to trigger subresource preloads before sending the final response. Chrome preloads subresources if the feature is activated by the experiment configuration.
For testing purposes the feature can also be enabled by `--enable-features=EarlyHintsPreloadForNavigation` command line flag.
Goals for experimentation
To see subresource preloading triggered by Early Hints can improve page rendering performance.
Experimental timeline
M91-M95
Ongoing technical constraints
None
Risks
Interoperability and Compatibility
Several servers/proxies may not understand a 103 response. They may treat the 103 response as a part of the final response when the response is sent over HTTP/1.1. The problem is less likely to happen over HTTP/2 thanks to their frame format. Chromium only handles 103 responses over HTTP/2 and HTTP/3.
Gecko: No signal
WebKit: No signal
Web developers: Positive
Positive interest and intent of support by popular CDNs (e.g. https://www.fastly.com/blog/faster-websites-early-priority-hints).
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes
Is this feature fully tested by web-platform-tests?
No. We plan to figure out what kind of web-platform-tests we should have once the spec issue is resolved. We already have browser_tests and unittests.
Flag name
EarlyHintsPreloadForNavigation
Tracking bug
Launch bug
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5207422375297024
This intent message was generated by Chrome Platform Status.
--
You received this message because you are subscribed to the Google Groups "net-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+u...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/net-dev/CAPLXX-_4%2B_yP44kZrJyOcc48CZqLTRQsupyqtooq%3D1u4PWWFbQ%40mail.gmail.com.
On Tue, May 18, 2021 at 10:45 AM Kenichi Ishibashi <ba...@chromium.org> wrote:Contact emails
ba...@chromium.org, kin...@chromium.org, yhi...@chromium.org
Specification
https://tools.ietf.org/html/rfc8297
Link to “Intent to Prototype” blink-dev discussion
https://groups.google.com/a/chromium.org/g/blink-dev/c/DAgWIczGtG0/m/gSXvjYn-AwAJ
Summary
When a 103 Early Hints response is received during navigation and it contains link rel=preload header fields Chrome tries to preload the specified resource before the final response is received. This is a finch experiment. Chrome triggers preload for the limited percentage of traffic. Currently we don’t plan to do an Origin Trial but we might set it up if we realize we need it.
What percentage of traffic are you planning to experiment with? It seems like the percentage is going to need to be quite large to gather useful data, given that servers need to opt-in to sending early hints, and include a set of resources which might be useful.
Do you have partners lined up for such an experiment?
Blink component
Activation
Servers send a 103 Early Hints informational response with link rel=preload header fields to ask Chrome to trigger subresource preloads before sending the final response. Chrome preloads subresources if the feature is activated by the experiment configuration.
What's Chromium's current behavior if a 103 response is sent for a subresource?
For testing purposes the feature can also be enabled by `--enable-features=EarlyHintsPreloadForNavigation` command line flag.
Is this wired up to the `--enable-experimental-web-platform-features` flag as well?
Goals for experimentation
To see subresource preloading triggered by Early Hints can improve page rendering performance.
Experimental timeline
M91-M95
Ongoing technical constraints
None
Risks
Interoperability and Compatibility
Several servers/proxies may not understand a 103 response. They may treat the 103 response as a part of the final response when the response is sent over HTTP/1.1. The problem is less likely to happen over HTTP/2 thanks to their frame format. Chromium only handles 103 responses over HTTP/2 and HTTP/3.
Gecko: No signal
WebKit: No signal
Please ask for signals via the mechanism described in https://bit.ly/blink-signals.
I also note that the TAG design review section of this email is missing. Can you link to your request?
Hi Mike, thank you for your questions!On Tue, May 18, 2021 at 6:31 PM Mike West <mk...@chromium.org> wrote:On Tue, May 18, 2021 at 10:45 AM Kenichi Ishibashi <ba...@chromium.org> wrote:Contact emails
ba...@chromium.org, kin...@chromium.org, yhi...@chromium.org
Specification
https://tools.ietf.org/html/rfc8297
Link to “Intent to Prototype” blink-dev discussion
https://groups.google.com/a/chromium.org/g/blink-dev/c/DAgWIczGtG0/m/gSXvjYn-AwAJ
Summary
When a 103 Early Hints response is received during navigation and it contains link rel=preload header fields Chrome tries to preload the specified resource before the final response is received. This is a finch experiment. Chrome triggers preload for the limited percentage of traffic. Currently we don’t plan to do an Origin Trial but we might set it up if we realize we need it.
What percentage of traffic are you planning to experiment with? It seems like the percentage is going to need to be quite large to gather useful data, given that servers need to opt-in to sending early hints, and include a set of resources which might be useful.Currently we plan to enable 50% on Canary, Dev and Beta, and 1% on Stable. We will revisit the percentage if the configuration doesn't provide enough numbers.Do you have partners lined up for such an experiment?Yes, we have partners who are interested in experimenting with the feature. We've been talking about the experiment details. When we have updates I'll post follow up emails to this thread.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/net-dev/CAPLXX--Axo8G20pFp%3DqJZW1agAuK_mZEoGvnG%3Dz_Y3-JWPkY-g%40mail.gmail.com.
Gracias
Thanks for experimenting with this!What's the plan in terms of monitoring? I know we discussed offline the possibility of adding an Early Hints indication as part of Resource Timing.Is that planned to be part of that experiment? Or are you planning to send a separate intent for that?
On Wed, May 19, 2021 at 3:31 AM Kenichi Ishibashi <ba...@chromium.org> wrote:Hi Mike, thank you for your questions!On Tue, May 18, 2021 at 6:31 PM Mike West <mk...@chromium.org> wrote:On Tue, May 18, 2021 at 10:45 AM Kenichi Ishibashi <ba...@chromium.org> wrote:Contact emails
ba...@chromium.org, kin...@chromium.org, yhi...@chromium.org
Specification
https://tools.ietf.org/html/rfc8297
Link to “Intent to Prototype” blink-dev discussion
https://groups.google.com/a/chromium.org/g/blink-dev/c/DAgWIczGtG0/m/gSXvjYn-AwAJ
Summary
When a 103 Early Hints response is received during navigation and it contains link rel=preload header fields Chrome tries to preload the specified resource before the final response is received. This is a finch experiment. Chrome triggers preload for the limited percentage of traffic. Currently we don’t plan to do an Origin Trial but we might set it up if we realize we need it.
What percentage of traffic are you planning to experiment with? It seems like the percentage is going to need to be quite large to gather useful data, given that servers need to opt-in to sending early hints, and include a set of resources which might be useful.Currently we plan to enable 50% on Canary, Dev and Beta, and 1% on Stable. We will revisit the percentage if the configuration doesn't provide enough numbers.Do you have partners lined up for such an experiment?Yes, we have partners who are interested in experimenting with the feature. We've been talking about the experiment details. When we have updates I'll post follow up emails to this thread.It might be worthwhile to verify with your partners that 1% of stable traffic would be sufficient for them.
Hi Yoav, sorry for the late reply.On Wed, May 19, 2021 at 6:38 PM Yoav Weiss <yoav...@chromium.org> wrote:Thanks for experimenting with this!What's the plan in terms of monitoring? I know we discussed offline the possibility of adding an Early Hints indication as part of Resource Timing.Is that planned to be part of that experiment? Or are you planning to send a separate intent for that?We likely propose adding a new attribute to PerformanceResourceTiming or adding a new value for `initiatorType`. I'm planning to send a separate intent as needed.
Hi API owners,We would like to add preconnect [1] support in this experiment. The purpose of preconnect is similar to preload but it's more lightweight: preload tries to fetch resources, preconnect just tries to establish connections. If this addition is reasonable, we will update relevant documents and work on relevant spec works.
I think the addition is reasonable, and it makes perfect sense to add it as part of the same Origin Trial.Is the addition a result of feedback from OT participants? If so, I think it makes sense to add that support without requiring much process.