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

How a CSS fish animation works

Adding 'inert' HTML attribute does not speed up animations

Online HTML minifiers