How do I preload the first image on product pages? And the first image in the slider?

Highlighted
Shopify Partner
33 0 9

Hi! 

I've been wanting to preload the first image on product pages for quite some time now. As have I been wanting to preload the first image in the slider on our home page. 

How can I do that?

Something like <link rel="preload" as="image" href="{ product.image[0]}">

0 Likes