Adding fetchpriority="high" to HTML

 I have been adding 'fetchpriority="high"' to the HTML of images that are visible when the page is first shown.


Chrome's 'Lighthouse' tool suggested this.


But I show slightly different sets of images for mobiles and desktop computers.  If I set fetchpriority' in JavaScript then it may be too late.




Comments

Popular posts from this blog

Replacing 'bare' URL's from the text of links

Starting to use a CSS minifier

How a CSS fish animation works