Online store performance and site speed optimization
Hi,
The store I am working on have slideshow images on homepage. I want to preload that slideshow images. How can I do this?
For this I need to access section data in head and this object is not accessible there.
Solved! Go to the solution
This is an accepted solution.
Yup, there is no liquid based solution.
You will need to build a service that checks for the LCP image then injects a preload hint. Or just manually change the preload hint each time the LCP image is changed.
This is an accepted solution.
Yup, there is no liquid based solution.
You will need to build a service that checks for the LCP image then injects a preload hint. Or just manually change the preload hint each time the LCP image is changed.
Yes, this will work as the slideshow images does not change frequently.
Thanks for the solution.
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023