A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/fetchPriority below:

HTMLLinkElement: fetchPriority property - Web APIs

In this article Value

A string representing the priority hint. Possible values are:

high

Fetch the resource at a high priority relative to other resources of the same type and internal prioritization.

low

Fetch the resource at a low priority relative to other resources of the same type and internal prioritization.

auto

Don't set a preference for the fetch priority. This is the default. It is used if no value is set or if an invalid value is set.

Examples
const preloadLink = document.createElement("link");
preloadLink.href = "my-image.jpg";
preloadLink.rel = "preload";
preloadLink.as = "image";
preloadLink.fetchPriority = "high";
document.head.appendChild(preloadLink);
Specifications Browser compatibility

Loading…

See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.5