Assets & tasks / PRACTICAL ANSWER
Why Does Preloading My Product Hero Download an Image the Page Never Displays?
A preload can request one product image while the page later selects another. Compare the preload's URL and responsive candidate hints with the actual hero image selection. The solution is to align the requests or remove an unnecessary preload, not to preload every available size.
Identify the two independent resource decisions
A preload tells the browser to discover a resource earlier than it might otherwise. A responsive image element independently provides candidate resources through srcset and sizes.
Google's web.dev documentation explains that a responsive preload can use imagesrcset and imagesizes on a link element. These attributes use selection information corresponding to the image's srcset and sizes.
A simple preload with a fixed href may be appropriate when the hero uses that exact resource. But when the visible image chooses between several widths, a fixed preload can request an image different from the one ultimately selected.
Do not assume every duplicated-looking network entry represents a second transfer. Inspect request URLs, cache behavior, response details and initiators. The meaningful question is whether bytes were unnecessarily transferred for a resource the page did not use.
Compare preload and rendered-image selection
Open a fresh page load in browser developer tools. Identify every preload for the hero and record its href, imagesrcset, imagesizes and fetch priority where present.
Next inspect the actual image element and its currentSrc. Record the selected variant, source dimensions and when its request began. If the preload requests a 1600-pixel image while the displayed hero selects an 800-pixel file, investigate whether both resources were fetched.
Check for variant-specific landing pages. A campaign link that selects a blue product should not preload a red product image merely because red is the catalog default.
Also inspect whether the hero is a CSS background, dynamically inserted image or ordinary markup image. Early discovery has different value in those cases. Preloading a resource that the parser already discovers promptly may add little benefit.
Use the appropriate responsive preload
When a responsive preload is justified, the developer can align imagesrcset and imagesizes with the actual hero's responsive selection. web.dev documents this mechanism and warns that responsive preloads can be risky if the viewport definition changes late.
Do not indiscriminately preload desktop, mobile and every color-variant asset. That can compete with critical stylesheets, scripts and the image the buyer actually sees.
Test one controlled change at a time: no preload, current fixed preload, and a correctly matched responsive preload where supported. Compare request discovery, duplicate transfers and the actual displayed hero. Keep the image's loading behavior and product identity unchanged during the comparison.
If the preload's benefit is unproven, retain a simpler implementation. A hint is not a guarantee of a performance improvement across all browsers and network conditions.
Hypothetical case: two hero downloads
Hypothetical network fixture; no waterfall was recorded. A fictional store has 800w and 1600w versions of the same approved bottle photograph. The actual mobile hero selects 800w.
Candidate A preloads the 1600w URL through a fixed href, then the image element selects 800w. The stipulated network trace contains two distinct transfers, so A fails the transfer-efficiency check.
Candidate B uses a responsive preload whose candidate list and slot hint match the hero. B is the preferred test, but its actual request behavior remains unverified.
Candidate C removes preload entirely. It may be appropriate if the browser already discovers the hero early. Compare all three under the same conditions rather than assuming B must win.
Record your own observations
The filled rows are illustrative examples. Use the blank row for your own files and observations.
| Hypothetical candidate | Preload | Displayed hero | Network assumption | Decision | Next test |
|---|---|---|---|---|---|
| A | Fixed 1600w URL | 800w | Both transferred | Reject redundant transfer | Check initiators |
| B | Responsive preload matched to hero | 800w | Not measured | Preferred test | Compare fresh-load requests |
| C | No preload | 800w | Not measured | Valid baseline | Measure discovery timing |
What the references establish
- web.dev — Preload Responsive Images: Primary guidance for imagesrcset, imagesizes, early resource discovery and responsive preload limitations.
- MDN — link HTML Element: Documents resource hints and preload-related attributes. The bottle network case is hypothetical.
Sources and further reading
Recorded source-review dates are listed individually below. An undated source does not inherit the article’s publication date. Software and platform rules can change; check the current original before acting.
- web.dev — Preload Responsive Images · Review date not separately recorded
- MDN — link HTML Element · Review date not separately recorded
Frequently asked questions
Should I preload every hero size so the browser has options?
No. Use responsive selection where appropriate and avoid unnecessary transfers for images that will not be displayed.
Does a duplicate URL in the Network panel always mean duplicate downloaded bytes?
No. Inspect transfer size, caching and request details before concluding that a second network transfer occurred.
PREPARE ASSETS FOR YOUR NEXT STEP
Create supporting product assets in CartVisual.
Create new product creative assets in the workspace, then continue in your chosen tools. Third-party software procedures described in this guide take place in those applications; this workspace link does not imply an integration. Check current capabilities, account access and credit quotes.
Create account and open this workspace Check pricing and creditsStart with free concept and copy planning after sign-in. Image and video generation require available credits; review the quote before starting.
Already have an account? Open the workspace.