• Resolved scriccia

    (@scriccia)


    Hello all,

    I have recently noticed that some pages when tested with PageSpeed Insight have a a high Largest contentful paint element (4.6 seconds) because the first image is lazy loaded. See for example this report.

    If instead I manually add the incriminated image (/wp-content/uploads/2024/07/Polpettone-vegano-plumcake-Large-762×1024.jpg.webp) to Lazy load image excludes the resulting report has a much lower loading time for Largest contentful paint element (down to 2.3 seconds).

    Now, my understanding was that with Lazy load images ON and viewport images ON as well, the images in the viewport, such as the one above, should NOT be lazy loaded.

    Could you please clarify why instead they are lazy loaded? I really wouldn’t like to manually add all the first images of the posts in the Lazy load image excludes.

    Report number:?RYSJOGAH
    Report date:?08/17/2024 20:41:11

    Many thanks

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

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

    (@qtwrk)

    the VPI will take time to generate, meanwhile , please try use Polpettone-vegano-plumcake in exclude setting , purge all , see how it goes

    Thread Starter scriccia

    (@scriccia)

    Hello @qtwrk,

    Thank you for your reply.
    I purged but the issue persist.
    I have noticed though that if I open the post in the edit mode, in the “LiteSpeed Options” metabox, under Viewport images – mobile, QUIC.cloud automatically populated it with this link to image “Polpettone-vegano-plumcake-Large-800×840.jpg”, which is not actually the exact image that is visualised on the published post “https://scriccia.com/wp-content/uploads/2024/07/Polpettone-vegano-plumcake-Large-762×1024.jpg.webp” which is the optimized one.

    Since I have this problem on a few posts, and I haven’t changed the image recently, but the images have been optimized by QUIC.cloud, is there a way to tell QUIC.cloud to scan again all my posts and find the correct images to include in the viewport?

    Thank you

    Thread Starter scriccia

    (@scriccia)

    I went on QUIC.cloud Page optimization and indeed all the VPI images are the .jpg images and not the .webp images.

    I was going to add an image but I don’t know how to copy and paste an image here (if you could kindly explain I can attach an image).

    How can I tell QUIC.cloud to include the webp images in the VPI?

    Thanks

    Plugin Support qtwrk

    (@qtwrk)

    it should be partial match , by that saying something.jpg will match both something.jpg and something.jpg.webp

    Thread Starter scriccia

    (@scriccia)

    Thank you, but unfortunately it doesn’t work because the original image name is “Polpettone-vegano-plumcake-Large-800×840.jpg”, and the on the published one, which has been optimized by QUIC.cloud is “Polpettone-vegano-plumcake-Large-762×1024.jpg.webp”.

    I am not sure how this has happened?

    Plugin Support qtwrk

    (@qtwrk)

    it could happens because the theme is giving different image sizes based on incoming request/device , for example I did not see this 762-1024 image on my browser , as well as my browser simulator

    Thread Starter scriccia

    (@scriccia)

    Thank you @qtwrk ,
    thank you for the explanation.

    Is there a way I can cope with this in order to make sure that the viewport image is going to be excluded from lazy loading, no matter in which device is being opened?

    Apart from doing it manually, is there an automatic way to do so?

    Many thanks

    Plugin Support qtwrk

    (@qtwrk)

    could you please check in wp-content/uploads/2024/07/Polpettone-vegano-plumcake-Large- , as how many resized images there are ?

    Thread Starter scriccia

    (@scriccia)

    Hello qtwrk,
    I was playing around with that particular post and eventually I removed the picture and uploaded another one.

    But we can use another post as an example: https://scriccia.com/torta-con-biscotti-avanzati-e-yogurt/

    I have recently changed theme, from Blossom to Astra, and I guess this may have increased the number of files, but oh my God, I wasn’t thinking to find such a bloat!

    So, as I thought that trying to figure something out with that mess is a bit too complicated, I have created a temporary post. I uploaded a fresh new picture (Blackberries.jpg), to see how many copies and sizes get created now with the new theme.

    • The viewport images are:
    • The filename in LiteSpeed Options metabox is: Blackberries.jpg
    • The number of sizes in the wp-content/uploads is more reasonable: here. (Although I have now another question: Why only one image has been converted in webp, and not all the other file sizes in this case?)

    I am utterly confused at this point as I am not sure what to do! ??
    Please @qtwrk can you advise?
    If you also have a suggestion on which plugin to use to remove ALL the unused images in wp-content/uploads it would be awesome.

    Thank you!

    Plugin Support qtwrk

    (@qtwrk)

    based on that unbelievable and unusual number of images that created , here is what I imagined , that your theme , or something from your system that classified in a very detailed manner for different devices/sizes/resolutions

    by default , as wordpress does , we classify pages into 2 types , mobile and desktop , but if it’s been classified so detailed on your site , there will be certain “overlap” or “imprecise” result for image

    like our VPI generator has one size, your device has another size , user device comes with another different size, they all gets different image sizes , which is, unfortunately, impossible for VPI to mimic all these sizes and create so many metaboxes to accommodate them all

    for webp , yes, sometimes, some image may not have webp format , usually due to the webp file to be larger than jpg , thus no point to keep it

    Thread Starter scriccia

    (@scriccia)

    This blog also migrated from blogspot in April. So, maybe combined with the fact that I switched from Blossom theme to the Astra theme now I have a pure mess of files. Which I hate because I like to keep things clean.

    I’ll have a closer look at the new images that I upload to understand the new theme behaviour, an maybe get in touch with Astra to understand this better.

    In the meantime, I really would love to clear some of this craziness. Do you have any plugin to clean unused images (including unused sizes) that I can use to clean up my upload folder?

    Thank you for your time

    Plugin Support qtwrk

    (@qtwrk)

    unfortunately I am not aware of such plugin ??

Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.