Priority Hints provide developers a way to indicate a resource's relative fetch priority to the browser, allowing more control over the order resources are loaded. Many factors influence a resource's priority in browsers. These include type, visibility, and preload status of a resource. Priority Hints introduces a developer-set "fetchpriority" HTML attribute and "priority" fetch property allowing developers to influence the computed priority of a resource fetch. Supported priority values are auto, low, and high.
Resource fetch priority is exposed in dev tools as part of the network panel, in the netlog, in traces and in tools like WebPageTest.
OriginTrial desktop last | 99 |
OriginTrial desktop first | 96 |
OriginTrial android last | 99 |
OriginTrial android first | 96 |
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/5817987a-0812-4c5c-b8cb-dce4dbbdd830n%40chromium.org.
This seems genuinely useful, thanks for working on it.
What's the current thinking on exposing `priority` on Request, i.e. https://github.com/WICG/priority-hints/issues/11#issuecomment-396610469?
On 3/3/22 4:54 PM, Addy Osmani wrote:
> Priority Hints introduces a developer-set "fetchpriority" HTML attribute and "priority" fetch property allowing developers to influence the computed priority of a resource fetch. Supported priority values are auto, low, and high.Non-owner LGTM. Thanks once again for all of your work taking this feature through a reboot, Pat! The adjustment in attribute name adds some needed clarity to the expected behavior for web developers. I would be excited to see this feature ship.
On Thursday, March 3, 2022 at 10:20:40 AM UTC-8 Patrick Meenan wrote:
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/3b4231c7-f18e-f176-2c04-d99f10a793f4%40chromium.org.