Preloading responsive images
Newly available since 2023-12-11
The imagesrcset
and imagesizes
attributes with the rel="preload"
attribute for the <link>
HTML element starts fetching responsive images before they're found in the body of the document.
Learning resources on MDN
Browser support
- Chrome 73 Released on 2019-03-12
- Chrome Android 73 Released on 2019-03-12
- Edge 79 Released on 2020-01-15
- Firefox 78 Released on 2020-06-30
- Firefox for Android 79 Released on 2020-07-28
- Safari 17.2 Released on 2023-12-11
- Safari on iOS 17.2 Released on 2023-12-11
Specifications
- HTML (#attr-link-imagesrcset), from HTML Workstream (WHATWG).
View web-platform-tests results for this feature - View the feature source file - Edit the feature - Report an issue about this feature