Document different classes of nsIClassOfService
Categories
(Core :: Networking, enhancement, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: smaug, Assigned: mayhemer)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
Assignee | ||
Comment 1•6 years ago
|
||
Updated•6 years ago
|
Reporter | ||
Comment 2•6 years ago
|
||
This would be really useful for anyone trying to optimize page load.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 3•6 years ago
|
||
Dragana, I'd like to ask for some details on the following 3 flags:
const unsigned long Follower = 1 << 1;
const unsigned long Speculative = 1 << 2;
const unsigned long Background = 1 << 3;
Thanks.
Comment 4•6 years ago
|
||
(In reply to Honza Bambas (:mayhemer) from comment #3)
Dragana, I'd like to ask for some details on the following 3 flags:
const unsigned long Follower = 1 << 1;
const unsigned long Speculative = 1 << 2;
const unsigned long Background = 1 << 3;Thanks.
It looks like we are not really setting this flags as we should. We should look into that.
Speculative - this is for speculative loads, something like prefetch, preload.
Follower - should correspond to not having NS_HTTP_LOAD_AS_BLOCKING nor NS_HTTP_LOAD_UNBLOCKED flag (I think we do not set this right).
Background - currently is only used here https://searchfox.org/mozilla-central/source/dom/base/Navigator.cpp#1189
It would be good to document this better and they to use this flags more in the code.
Reporter | ||
Comment 5•6 years ago
|
||
Does speculative mean also the loads initiated by HTML parser when it does its speculative loading stuff?
Assignee | ||
Comment 6•6 years ago
|
||
(In reply to Olli Pettay [:smaug] from comment #5)
Does speculative mean also the loads initiated by HTML parser when it does its speculative loading stuff?
Comment 7•6 years ago
|
||
Note that if we do use the speculative thing for the HTML parser speculative loads we need a way to "switch" to non-speculative once the real load tries to coalesce with the speculative load.
Reporter | ||
Comment 8•5 years ago
|
||
Honza, could this be prioritized a bit?
Assignee | ||
Comment 9•5 years ago
|
||
Yup, will look at this ASAP.
Assignee | ||
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
bugherder |
Description
•