Higher LCP Issue

Solved
Aishwarya-I
New Member
20 0 0

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.

Accepted Solution (1)

Accepted Solutions
oreoorbitz
Shopify Partner
205 24 114

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.

Available for freelance. I specialize in speed improvement and theme development.
https://www.upwork.com/fl/orionholmes

If your looking for a pagespeed solution for your Website, take a look at: https://renderbetter.com/

View solution in original post

Replies 2 (2)
oreoorbitz
Shopify Partner
205 24 114

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.

Available for freelance. I specialize in speed improvement and theme development.
https://www.upwork.com/fl/orionholmes

If your looking for a pagespeed solution for your Website, take a look at: https://renderbetter.com/
Aishwarya-I
New Member
20 0 0

Yes, this will work as the slideshow images does not change frequently.

Thanks for the solution.