-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
I don't see any support for fetchpriority="high"
here. I'm thinking this is something you may want to add.
To use priority hints with picture tags simply add the fetchpriority attribute to the img element inside the picture tag.
<picture> <source srcset="/image-small.png" media="(max-width: 600px)"> <img src="/image.png" fetchpriority="high"> </picture>https://www.debugbear.com/blog/priority-hints#picture-elements-and-priority-hints
Take a Largest Contentful Paint image, which, when preloaded, will still get a low priority. If it is pushed back by other early low-priority resources, using Fetch Priority can help how soon the image gets loaded.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation