Open Bug 1407355 (earlyhints) Opened 7 years ago Updated 3 months ago

[meta] 103 Early Hints

Categories

(Core :: Networking: HTTP, enhancement, P3)

58 Branch
enhancement

Tracking

()

People

(Reporter: dragana, Unassigned)

References

(Depends on 14 open bugs, )

Details

(Keywords: meta, parity-chrome, parity-safari, Whiteboard: [necko-triaged])

Attachments

(3 obsolete files)

Priority: -- → P2
Whiteboard: [necko-triaged]
I have patches for necko part of this bug. We should work on the dom part of the implementation in bug 1409290.
Depends on: 1409290
Attached patch bug_1407355_test_v1.patch (obsolete) — — Splinter Review
Change to httpd.js test server and a test for the 103 response.
Attached patch bug_1407355_v1.patch (obsolete) — — Splinter Review
The change to nsHttpTransaction.
Attached patch bug_1407355_propagate_early_hint_part1_v1.patch (obsolete) — — Splinter Review
Propagate early hint response from parent to the child. I have implemented a new interface nsIEarlyHintObserver instead of extended nsIRequestObserver. It is possible to extend nsIRequestObserver as well, this only depends on how many observer we will really have and that depends on how we implement bug 1409290. Maybe we will need to propagate early hint responses through the listener chain(in that case we should extend the nsIRequestObserver interface).
Priority: P2 → P3

Any news on this?

I expect that website owners will only start to use early hints once a major browser supports it, but server-side support has been added in several servers/frameworks, for example:

Depends on: 1394778

nodejs also supports it

The upcoming release of lighttpd 1.4.56 supports 103 Early Hints

Some movement here on the chrome side, intent to prototype:
https://groups.google.com/a/chromium.org/g/blink-dev/c/DAgWIczGtG0/m/gSXvjYn-AwAJ

From this design:
https://docs.google.com/document/d/1gCh_CnfrJq_VL7aGoq6skc7sn4yn5pKsM0gkHe5B9go/edit#heading=h.yh1rfx1p5ocs

Dragana, not quite sure if the proposed use of 103 reponse for a chrome trial is a great idea. Any thoughts?

Flags: needinfo?(dd.mozilla)

(In reply to Benjamin De Kosnik [:bdekoz] from comment #9)

Some movement here on the chrome side, intent to prototype:
https://groups.google.com/a/chromium.org/g/blink-dev/c/DAgWIczGtG0/m/gSXvjYn-AwAJ

From this design:
https://docs.google.com/document/d/1gCh_CnfrJq_VL7aGoq6skc7sn4yn5pKsM0gkHe5B9go/edit#heading=h.yh1rfx1p5ocs

Dragana, not quite sure if the proposed use of 103 reponse for a chrome trial is a great idea. Any thoughts?

This is on my radar already. The document shows interesting possible performance improvement from the telemetry they have collected (it sounds also a bit high). There is not a good spec for this feature, e.g. integration with fetch spec is missing. In one of the docs they proposed 2 possible implementation, but I would prefer to have some spec or at lease a draft that we can discuss. Anne had similar comment.

I was thinking about adding telemetry to estimate possible performance improvement in Firefox (if you are interested to help :) ).

Flags: needinfo?(dd.mozilla)
Keywords: meta
Depends on: 1740208
Summary: Implement 103 Early Hints → [meta] Implement 103 Early Hints
Depends on: 1740466
Depends on: 1740687
Depends on: 1740688
Depends on: 1740689
Depends on: 1740690
Depends on: 1740692

Is this picking up steam now here due to Cloudflare enabling beta Early Hints on accounts?

Depends on: 1741422
Depends on: 1741423
Depends on: 1743630
Depends on: 1744821
Depends on: 1744822
Assignee: dd.mozilla → nobody
Status: ASSIGNED → NEW
Depends on: 1746324
Depends on: 1744028
Depends on: 1743686
Depends on: 1760124
Depends on: 1780822

This is live in Cloudflare and out of beta, I just toggled it on for my website.

Severity: normal → S3
Depends on: 1798952
Depends on: 1799166
Depends on: 1802501
No longer depends on: 1761259
No longer depends on: 1765290
No longer depends on: 1783685
No longer depends on: 1795896
No longer depends on: 1798319
No longer depends on: 1798716
No longer depends on: 1800485
No longer depends on: 1801161
No longer depends on: 1801163
No longer depends on: 1761248
Depends on: 1806101
Depends on: 1808323
Depends on: 1812360
Depends on: 1813071
Depends on: 1822005
Depends on: 1838406
Depends on: 1840356

FYI - Chrome already had it, and Safari 17 also mentioned this.

Early Hints is rolled out. This bug still serves as a meta bug for backlog items from now on.

Assignee: nobody → manuel
Summary: [meta] Implement 103 Early Hints → [meta] 103 Early Hints
Attachment #8919189 - Attachment is obsolete: true
Attachment #8919191 - Attachment is obsolete: true
Attachment #8919192 - Attachment is obsolete: true
Depends on: 1887877
Assignee: manuel → nobody
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: