| CARVIEW |
Select Language
HTTP/2 302
x-cloud-trace-context: b66c2cb4279100d25879a43527b1c956
location: /en-US/docs/Web/API/HTMLImageElement/fetchPriority
via: 1.1 google, 1.1 varnish, 1.1 varnish, 1.1 varnish, 1.1 varnish
accept-ranges: bytes
cache-control: no-store
server: Google Frontend
content-type: text/plain; charset=utf-8
date: Mon, 29 Dec 2025 19:44:44 GMT
x-served-by: cache-bfi-krnt7300111-BFI, cache-bfi-krnt7300111-BFI, cache-sin-wsat1880098-SIN, cache-bom-vanm7210025-BOM
x-cache: MISS, MISS, MISS, MISS
x-cache-hits: 0, 0, 0, 0
x-timer: S1767037484.207781,VS0,VE287
vary: Accept
content-length: 72
HTTP/2 200
x-content-type-options: nosniff
cache-control: public, max-age=3600
via: 1.1 google, 1.1 varnish, 1.1 varnish, 1.1 varnish, 1.1 varnish
x-cloud-trace-context: 16d83766f2683915069112557f266d23
server: Google Frontend
last-modified: Mon, 29 Dec 2025 01:08:21 GMT
referrer-policy: strict-origin-when-cross-origin
origin-trial: AxVILwizhbMjxFeHOn1P3R8niO1RJY/smaK4B4d1rLzc1gTaxtXMSaTi+FoigYgCw40uFRDwFcEAeqDR+vVLOW4AAABfeyJvcmlnaW4iOiJodHRwczovL2RldmVsb3Blci5tb3ppbGxhLm9yZyIsImZlYXR1cmUiOiJQcml2YXRlQXR0cmlidXRpb25WMiIsImV4cGlyeSI6MTc0MjA3OTYwMH0=
content-type: text/html
etag: "0d33770e2a0ac8890b067b9d4cb619ba"
strict-transport-security: max-age=63072000
expires: Mon, 29 Dec 2025 17:51:34 GMT
x-goog-meta-goog-reserved-file-mtime: 1766969332
x-goog-storage-class: STANDARD
x-frame-options: DENY
x-goog-metageneration: 1
x-goog-hash: crc32c=HoZcrA==, md5=DTN3DioKyIkLBnudTLYZug==
x-guploader-uploadid: AHVrFxNcwpzzVUKxFuD7BM2z5b9LSvkPGUUeUNeB7-KYegSEnBy9UUK5xtR6gyeoqjLlV-CsduHoWl0
content-security-policy: default-src 'self'; script-src 'report-sample' 'self' 'wasm-unsafe-eval' https://www.google-analytics.com/analytics.js https://*.googletagmanager.com assets.codepen.io production-assets.codepen.io https://js.stripe.com 'sha256-XNBp89FG76amD8BqrJzyflxOF9PaWPqPqvJfKZPCv7M=' 'sha256-YCNoU9DNiinACbd8n6UPyB/8vj0kXvhkOni9/06SuYw=' 'sha256-PZjP7OR6mBEtnvXIZfCZ5PuOlxoDF1LDZL8aj8c42rw='; script-src-elem 'report-sample' 'self' 'wasm-unsafe-eval' https://www.google-analytics.com/analytics.js https://*.googletagmanager.com assets.codepen.io production-assets.codepen.io https://js.stripe.com 'sha256-XNBp89FG76amD8BqrJzyflxOF9PaWPqPqvJfKZPCv7M=' 'sha256-YCNoU9DNiinACbd8n6UPyB/8vj0kXvhkOni9/06SuYw=' 'sha256-PZjP7OR6mBEtnvXIZfCZ5PuOlxoDF1LDZL8aj8c42rw='; style-src 'report-sample' 'self' 'unsafe-inline'; object-src 'none'; base-uri 'self'; connect-src 'self' developer.allizom.org bcd.developer.allizom.org bcd.developer.mozilla.org updates.developer.allizom.org updates.developer.mozilla.org https://*.google-analytics.com https://*.analytics.google.com https://*.googletagmanager.com https://incoming.telemetry.mozilla.org https://observatory-api.mdn.allizom.net https://observatory-api.mdn.mozilla.net https://api.github.com/search/issues stats.g.doubleclick.net https://api.stripe.com; font-src 'self'; frame-src 'self' mdn.github.io *.mdnplay.dev *.mdnyalp.dev *.play.test.mdn.allizom.net https://v2.scrimba.com https://scrimba.com jsfiddle.net www.youtube-nocookie.com codepen.io survey.alchemer.com https://js.stripe.com; img-src 'self' data: *.githubusercontent.com *.googleusercontent.com *.gravatar.com mozillausercontent.com firefoxusercontent.com profile.stage.mozaws.net profile.accounts.firefox.com developer.mozilla.org mdn.dev wikipedia.org upload.wikimedia.org https://mdn.github.io/shared-assets/ https://mdn.dev/ https://*.google-analytics.com https://*.googletagmanager.com www.gstatic.com; manifest-src 'self'; media-src 'self' archive.org videos.cdn.mozilla.net https://mdn.github.io/shared-assets/; child-src 'self'; worker-src 'self';
x-goog-stored-content-encoding: identity
x-goog-generation: 1766970501422114
x-goog-stored-content-length: 151573
content-encoding: gzip
accept-ranges: bytes
date: Mon, 29 Dec 2025 19:44:44 GMT
age: 1058
x-served-by: cache-bfi-krnt7300089-BFI, cache-bfi-krnt7300089-BFI, cache-sin-wsss1830074-SIN, cache-bom-vanm7210025-BOM
x-cache: MISS, HIT, MISS, MISS
x-cache-hits: 0, 3, 0, 0
x-timer: S1767037485.508393,VS0,VE234
vary: Accept-Encoding
content-length: 20033
HTMLImageElement: fetchPriority property - Web APIs | MDN
Toggle sidebar
>
HTMLImageElement: fetchPriority property
Baseline
2024
Newly available
Since October 2024, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
The fetchPriority property of the HTMLImageElement interface represents a hint to the browser indicating how it should prioritize fetching a particular image relative to other images. It reflects the <img> element's fetchpriority content attribute.
Value
A string whose value is one of high, low, or auto. For their meanings, see the HTML fetchpriority attribute.
Examples
js
const img = new Image();
img.fetchPriority = "high";
img.src = "img/logo.png";
Specifications
| Specification |
|---|
| HTML> # dom-img-fetchpriority> |
Browser compatibility
See also
HTMLLinkElement.fetchPriorityHTMLScriptElement.fetchPriority- HTTP
Linkheader - Optimize resource loading with the Fetch Priority API for information about how this API affects priorities on Chrome.