When Should You Use fetchpriority=”high” on Images?

Use fetchpriority to hint that a critical image should load earlier—but only when the image is genuinely important to the initial viewport.

On this page14 sections
  1. What fetchpriority does
  2. LCP candidate
  3. What it does not do
  4. vs preload
  5. Background images
  6. Overuse
  7. Testing
  8. Worked example: a slow hero image
  9. Practical takeaway
  10. Try it on a real image
  11. Continue reading
  12. Frequently asked questions
  13. Editorial note
  14. Sources and further reading

When Should You Use fetchpriority=”high” on Images?

Use fetchpriority to hint that a critical image should load earlier—but only when the image is genuinely important to the initial viewport.

For fetchpriority high images, file size is only one part of performance. Discovery, request priority, responsive selection, intrinsic dimensions, caching, decode, and paint can matter just as much as the number of kilobytes in the file.

fetchpriority="high" is a hint that can help the browser prioritize a genuinely important image, commonly an LCP candidate. It should not be sprayed across every image on the page.

Priority hints do not replace correct discovery, compression, responsive sources, or caching. Raising everything to high priority simply creates new competition.

Short version: Start with the image’s actual job, remove waste the layout cannot use, encode once from a good source, and verify the result in the real page. Smaller is useful only while the image remains visually and technically fit for purpose.

<img
  src="hero-1600.avif"
  width="1600"
  height="900"
  fetchpriority="high"
  alt="...">

Use this selectively for a likely critical image. Do not combine a critical LCP image with loading="lazy".

What fetchpriority does

fetchpriority="high" can tell the browser that an image deserves higher fetch priority. It is most useful for a small number of truly important resources such as an LCP candidate that the browser might otherwise prioritize too conservatively.

Do not mark every visible image high priority. Priority is relative; promoting too many resources makes the hint less useful and can steal bandwidth from stylesheets, fonts, scripts, or the one image that actually matters most.

In DevTools, find the actual LCP element and its network request. Note when the request starts, its priority, transfer size, and whether CSS or JavaScript delayed discovery. That timeline tells you whether to compress, preload, change markup, or change priority.

LCP candidate

Responsive image markup lets the browser choose from multiple source widths rather than downloading one oversized file for every viewport. In HTML, srcset lists candidates and sizes describes the expected rendered width under layout conditions.

Google recommends retaining a normal src fallback even when using srcset or <picture>. That helps browsers and crawlers that do not understand every responsive-image attribute and provides a stable discoverable URL.

In DevTools, find the actual LCP element and its network request. Note when the request starts, its priority, transfer size, and whether CSS or JavaScript delayed discovery. That timeline tells you whether to compress, preload, change markup, or change priority.

What it does not do

This part of fetchpriority high images is best understood as a trade-off rather than a fixed rule. The right choice depends on the visual role of the image, the publishing environment, and what happens to the file after it leaves the editor.

Use representative files and verify the result in the real destination. A workflow that looks good on one sample can fail on transparency, fine text, gradients, noisy photographs, or very large source dimensions.

vs preload

This part of fetchpriority high images is best understood as a trade-off rather than a fixed rule. The right choice depends on the visual role of the image, the publishing environment, and what happens to the file after it leaves the editor.

Use representative files and verify the result in the real destination. A workflow that looks good on one sample can fail on transparency, fine text, gradients, noisy photographs, or very large source dimensions.

Background images

This part of fetchpriority high images is best understood as a trade-off rather than a fixed rule. The right choice depends on the visual role of the image, the publishing environment, and what happens to the file after it leaves the editor.

Use representative files and verify the result in the real destination. A workflow that looks good on one sample can fail on transparency, fine text, gradients, noisy photographs, or very large source dimensions.

Overuse

This part of fetchpriority high images is best understood as a trade-off rather than a fixed rule. The right choice depends on the visual role of the image, the publishing environment, and what happens to the file after it leaves the editor.

Use representative files and verify the result in the real destination. A workflow that looks good on one sample can fail on transparency, fine text, gradients, noisy photographs, or very large source dimensions.

Testing

This part of fetchpriority high images is best understood as a trade-off rather than a fixed rule. The right choice depends on the visual role of the image, the publishing environment, and what happens to the file after it leaves the editor.

Use representative files and verify the result in the real destination. A workflow that looks good on one sample can fail on transparency, fine text, gradients, noisy photographs, or very large source dimensions.

Worked example: a slow hero image

For fetchpriority high images, assume PageSpeed Insights or DevTools identifies a homepage hero as the LCP element. The file is 350 KB—not outrageous—but the request starts late because the image is injected by JavaScript and also marked for lazy loading. Converting it to 220 KB helps transfer time, but the page can remain slow because discovery and scheduling are still wrong.

A complete fetchpriority high images fix would make the resource discoverable early in initial markup, avoid lazy-loading the LCP candidate, use an appropriate responsive source, reserve its layout space, and consider fetchpriority="high" only when that hint addresses a real priority problem. Then measure again.

Practical takeaway

For fetchpriority high images, make one decision at a time and verify it in the final destination. Use the page’s actual dimensions, content type, compatibility needs, and user-visible result as the constraints. The goal is not to win a synthetic file-size contest; it is to publish an image that is efficient, understandable, and reliable for its job.

Try it on a real image

Use the compressor to apply this article to a real source image. Compress first; prioritize second The image operation runs in your browser, which makes it practical to compare dimensions, format, output bytes, and visual quality without first sending the selected image to a remote compression endpoint.

Continue reading

Frequently asked questions

What does it do?

For fetchpriority high images, choose from the image’s visual role, compatibility requirements, and the measured result rather than a generic rule.

Every hero image?

Lazy-load offscreen images, but avoid delaying an image that is visible immediately and likely to become the LCP element.

Same as preload?

For fetchpriority high images, choose from the image’s visual role, compatibility requirements, and the measured result rather than a generic rule.

Improve LCP?

Optimize the entire LCP loading path: server response, early discovery, priority, transfer size, decode, and rendering. web.dev uses 2.5 seconds or less at the 75th percentile as the good LCP threshold.

Editorial note

Image formats, browser behavior, WordPress media support, and search guidance can change. This article is written to distinguish durable principles from version-specific behavior; version-sensitive claims should be rechecked during scheduled content refreshes.

Sources and further reading

Continue the series8 parts

Image Performance & Core Web Vitals

  1. Image Optimization for Website Speed
  2. How Images Affect Core Web Vitals
  3. How to Optimize the Largest Contentful Paint Image
  4. Should You Lazy Load Images?
  5. Why You Shouldn’t Lazy Load Your Hero Image
  6. Responsive Images: How srcset and sizes Work
  7. How Image Dimensions Help Prevent Layout Shift (CLS)
  8. When Should You Use fetchpriority=”high” on Images?