• Resolved john53

    (@john53)


    Hi

    I have the pro version of the plugin.

    Is there a way to preload an image on the home page only – not on all the other pages & posts?

    Thank you

    Kind regards

    John

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @john53 my apologies for not getting back to you sooner! Asset CleanUp Lite/Pro does not support preloading images due to the very low demand.

    I can, however, prepare you a code snippet that you can place in functions.php of your child theme that would preload the image you want.

    I assume your main goal is to have that image load among the first after first contentful paint. I tried accessing your website, but I got an access denied error from Cloudflare (Error 1020), you have some protection in place.

    Thread Starter john53

    (@john53)

    Hi Gabe

    Thanks for the update.

    I don’t need to do this anymore. The site loads pretty fast now anyway.

    Thanks for all you help and support.

    Best regards

    John

    I’d like this snippet though if you are willing to share… The image is https://websitedesigntasmania.com.au/wp-content/uploads/2021/03/slide3.jpg and the home page is: https://websitedesigntasmania.com.au/

    Thanks!

    P.S. I have Pro version

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Pre load an image just on home page?’ is closed to new replies.