[Webkit-unassigned] [Bug 247291] New: Add support for Priority Hints
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 31 14:58:56 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=247291
Bug ID: 247291
Summary: Add support for Priority Hints
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Enhancement
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: patmeenan at gmail.com
The Priority Hints spec is in the process of being merged into the fetch and HTML specs and allows for site developers to hint at the relative fetch priority for various resources.
The main changes are:
* Adds a "priority" to fetch's Request and RequestInit classes that uses a string enum of "auto", "high" or "low"
* Adds a "fetchPriority" attribute to the IMG, PICTURE, SCRIPT, LINK and IFRAME html elements with the same enum values
Existing spec: https://wicg.github.io/priority-hints/
This was shipped in Chromium 103 and Mozilla is working on an implementation so it is now in the process of being moved into the HTML and fetch specs.
The main use case developers are currently using it for is to tag "important" images on their pages so that they load sooner than the would naturally. Chrome usage from the field can be seen here: https://chromestatus.com/metrics/feature/timeline/popularity/2738
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221031/124f23a0/attachment-0001.htm>
More information about the webkit-unassigned
mailing list