• Resolved Alex Petrenko

    (@petrenkocomua)


    Hello!

    I use litespeed cache plugin + Closte CDN + Visual Portfolio Gallery

    I’m optimizing my site for speed and results are here

    One of the big open points is “Serve images in next-gen formats” and it seems that something on the junction of CDN/litespeed/Visual Portfolio doesn’t work, not allowing viewers to see WEBP versions.

    What could be the problem here?

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    By design , LSCWP only can only do webp replacement in HTML code , while some of your images are loaded by JS , so LSCWP can not guarantee the webp replacement when it is loaded by JS.

    Also please try add data-vp-popup-img to webp replacement srcset , purge all , and see if it improves it.

    Best regards,

    • This reply was modified 4 years, 6 months ago by qtwrk.
    Thread Starter Alex Petrenko

    (@petrenkocomua)

    Thanks, I’ve added

    div.data-vp-popup-img
    img.data-vpf-src
    div.vp-portfolio__item-img

    to “WebP Attribute To Replace” setting and it seems we are going right direction.

    The only thing I don’t understand, why in this part one of the sizes (414w) is not served as WEBP?

    data-vp-popup-img-srcset="//cdn-5eb92a50c1ac18119416514e.closte.com/wp-content/uploads/2020/05/petrenko.corporate.photographer.geneva.DSC_6241-Edit.jpg.webp 1600w, //cdn-5eb92a50c1ac18119416514e.closte.com/wp-content/uploads/2020/05/petrenko.corporate.photographer.geneva.DSC_6241-Edit-414x276.jpg 414w"

    Thread Starter Alex Petrenko

    (@petrenkocomua)

    Disregard.

    I needed to “Rescan New Thumbnails” in “Image optimisation” settings of the plugin.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Is everything fine now ?

    Best regards,

    Thread Starter Alex Petrenko

    (@petrenkocomua)

    Yes, seems like everything works.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WEBP images are not served’ is closed to new replies.