--
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+unsubscribe@chromium.org.
To post to this group, send email to net...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/net-dev/f08d1de0-7dc9-470e-8da3-d13d7cff133f%40uclouvain.be.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/net-dev/CAEK7mvpsrcpjdFNhkj7qf%3D66p621w5AW0zhtwV9SQWehVQRoEA%40mail.gmail.com.
Hello Matt,
Thank you for the response,
In scenario B, I do not put the Link header in the 200 response
(this is for testing, I know it is not compliant with the Early
Hints spec).
But on the wire, the 103 and 200 status headers are in the same
TCP segment, due to a limitation of nghttpx-mruby, so Chrome may
get confused. I am searching for a better control on server side,
so any recommendation is also appreciated.
Client Server
GET /
(1) ------------------->
103 + Link preload: style.css
(2) <-------------------
GET style.css
(3) -------------------->
200 OK + <style.css>
(4) <-------------------
200 OK +root index.html
(5) <--------------------
Now the problem is all the headers in the main 200 response in
step 5 is treated as the payload as below.
As you already told, this is because Chrome only processes a
single set of header.
I think there will be several works need to be done.
Could you have some suggestion about where I can start from?
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/net-dev/2e6423e3-59de-34bf-15d5-d7d2b92db857%40uclouvain.be.
Hi Matt,
Thank you for your suggestions. I think this will be useful for
anyone want to try with Informational Responses.
Since I don't have any more free time for this work, I summarized the ongoing work in this slides:
https://www.slideshare.net/VietHoangTran/implementing-early-hints-in-chrome
And from my discussion with the author Kazuho Oku, he pointed out
another issue with my approach is that the RenderFrame/displayed
page would switch too early and go blank, before the final 200
response arrived. This may irritate the end users. A better
approach might be removing the dependency of preload on Document
Commit. But this is also not easy I think.
Regards,
Hoang
chromium-dev -> bcc
To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+u...@chromium.org.
To post to this group, send email to net...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/net-dev/f08d1de0-7dc9-470e-8da3-d13d7cff133f%40uclouvain.be.
--
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.