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

Giving PWA icons transparent backgrounds

RCS 'identification marker' comes in useful

Marking up code examples