Closed Bug 1383234 Opened 2 years ago Closed 2 years ago

Don't throttle Leader and Unblocked resources

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: mayhemer, Assigned: mayhemer)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-active])

Attachments

(1 file, 1 obsolete file)

When we throttle load of <head> referenced script, yes, trackers can be even there (see cnn.com), we prolong time to window.onload.  That's undesirable.
Summary: Don't throttle Blocking and LoadUnblocked resources → Don't throttle Leader and Unblocked resources
Attached patch v1 (obsolete) — Splinter Review
self explanatory.  reason: some trackers can be referenced in <head>.  when we slow them down we postpone onload event.  That handler may easily trigger load of a vital display content dynamically, hence, it makes sense to never throttle leaders.


https://treeherder.mozilla.org/#/jobs?repo=try&revision=6917d3d6063a5e93f878de977edf6d54737d12b8
Attachment #8889518 - Flags: review?(mcmanus)
Whiteboard: [necko-active]
Attachment #8889518 - Flags: review?(mcmanus) → review+
Attachment #8889518 - Attachment is obsolete: true
Attachment #8891391 - Flags: review+
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8af1672af38d
Don't throttle Blocking/Unblocked marked HTTP responses. r=mcmanus
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/8af1672af38d
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.