Closed
Bug 1920222
Opened 1 year ago
Closed 1 year ago
Consider modifying the fetchpriority adjustments for <img> elements so that priority="low" is given a lower priority than auto / no attribute
Categories
(Core :: Networking, task, P3)
Core
Networking
Tracking
()
RESOLVED
FIXED
132 Branch
| Tracking | Status | |
|---|---|---|
| firefox132 | --- | fixed |
People
(Reporter: acreskey, Assigned: acreskey)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
Our initial configuration for fetchPriority on <img> elements gives a priority boost when fetchprioty="high", but applying the fetchprioty="low" attribute does not modify priority:
- name: network.fetchpriority.adjustments.images.low
type: int32_t
value: 0
mirror: always
- name: network.fetchpriority.adjustments.images.high
type: int32_t
value: -20
mirror: always
- name: network.fetchpriority.adjustments.images.auto
type: int32_t
value: 0
mirror: always
See prefs
Note that images in Firefox have a default priority of "low".
But one use case of fetchPriority is to de-prioritize low value images (by tagging as "low" priority).
Attaching a patch for discussion in which network.fetchpriority.adjustments.images.low reduces priority one increment.
| Assignee | ||
Comment 1•1 year ago
|
||
Set adjustment for fetchpriority="low" on images to deprioritize so developers can reduce bandwidth shared to tagged images.
Updated•1 year ago
|
Attachment #9426248 -
Attachment description: Bug 1920222 - Consider modifying the fetchpriority adjustments for <img> elements so that priority="low" is given a lower priority than auto / no attribute r=#necko-reviewers → Bug 1920222 - Modify the fetchpriority adjustments for <img> elements so that priority="low" is given a lower priority than auto / no attribute r=#necko-reviewers
Pushed by acreskey@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/842e525e2dd7
Modify the fetchpriority adjustments for <img> elements so that priority="low" is given a lower priority than auto / no attribute r=necko-reviewers,fredw,kershaw
Comment 3•1 year ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•