WICG / priority-hints

A browser API to enable developers signal the priorities of the resources they need to download.
https://wicg.github.io/priority-hints/
Other
271 stars 26 forks source link

Renamed importance to priority/fetchpriority #64

Closed pmeenan closed 2 years ago

pmeenan commented 2 years ago

This renames the attribute used for Priority Hints to priority for the fetch API and fetchpriority for the HTML attribute (see the discussion here.

It also renames the existing references to priority in the fetch spec (which reference the opaque internal browser priority) to internalpriority to avoid colliding property names. The existing priority property is not web-exposed and can safely be renamed.

The behavior of the priority hints and the attribute values themselves remain unchanged.