• Hi there,

    LiteSpeed Cache image optimisation requests are accepted by QUIC.cloud, but images never pull back.

    Latest test:

    – Image sent: /wp-content/uploads/2021/03/product-school-urVHqIv-__4-unsplash.jpg

    – QUIC.cloud returned response ok

    – Callback to /litespeed/v1/notify_img passed Cloud IP verification

    – Debug log shows: notified status=-7

    – Images Pulled, Total Reduction, and Last Pulled remain blank after Pull Images

    – QUIC.cloud CDN is disabled, but QUIC.cloud integration/image optimisation is enabled

    Can you help me get image optimisation working please. Server IP and all other settings look correct to me, but I may have made a mistake.

    The last report number is BAVYYUIM.

    I can provide the full log from the last send optimisation request if that’ll help.

    Many thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support litetim

    (@litetim)

    @terratag thank you for report πŸ™‚
    I see from report that https://docs.litespeedtech.com/lscache/lscwp/imageopt/#auto-request-cron is turned OFF. If you enable it does the optimization progress is increasing?
    Last images received by QC are today(March 25).

    Please share a optimization log. Please use one of these services: https://pastebin.ubuntu.com/ or https://pastebin.com/

    Thank you

    Thread Starter terratag

    (@terratag)

    Hi @litetim, thank you for your help. I don’t want to enable auto cron until I’ve tested the image optimisation, so haven’t enabled that yet.

    I’ve added the log at https://pastebin.com/EYuDZ5W9.

    Many thanks

    Plugin Support litetim

    (@litetim)

    @terratag
    Please send another set of images to optimization. I want to see how it behave with next images
    Would help if you can log the request

    • This reply was modified 1 week, 4 days ago by litetim.
    Thread Starter terratag

    (@terratag)

    Hi @litetim, I sent another image to optimise. It’s only sending one image currently. The logs are at https://pastebin.com/NPqdUtdb. Thank you.

    Plugin Support litetim

    (@litetim)

    @terratag thank you
    This helped πŸ™‚
    This is not an error. Before sending image to optimization, LSC will test if image need optimization. This is done by searching for image_name.webp (webp in your case).
    I saw you had ShortPixel Image Optimizer enabled.

    I think that the images were optimized(by LSC OR other plugin) and the optimized images are still on disk.
    It will send 1 image at once until it get image to optimize and increase the limit.
    Did you tried to optimize images with LSC before?(I ask to know how to further help you)

    Thread Starter terratag

    (@terratag)

    Thank you again @litetim I really appreciate your help. πŸ™‚

    I checked WordPress and ShortPixel is not installed or active in Installed Plugins, Must-Use Plugins, settings, or Media Library columns. The only ShortPixel reference I found is inside:
    /wp-content/plugins/enable-media-replace/build/shortpixel

    I believe we used ShortPixel previously during our Squarespace to WordPress migration to bulk optimise images, then stopped using it. We have also manually uploaded many images as WebP since then.

    We would like to use LiteSpeed/QUIC.cloud going forward for new uploads so we do not need to manually optimise each image.

    Before enabling Auto Request Cron, can you confirm whether notified status=-7 is expected when existing optimised/WebP files are found, or whether it indicates a failed optimisation/pullback? So far, Images Pulled, Total Reduction, and Last Pulled never update.

    Many thanks

    Plugin Support litetim

    (@litetim)

    @terratag let me some time to give you the best solution πŸ™‚ and answer

    Plugin Support litetim

    (@litetim)

    @terratag after looking over the server logs and tested the optimization results I saw that images are already optimized and our image optimizer cannot improve the image.
    Enabling auto optimization will test all images and do the following actions:
    – ignore subsizes that have .webp. Example:
    /wp-content/uploads/2021/03/product-school-dJICd7b_LlE-unsplash-768×576.jpg
    /wp-content/uploads/2021/03/product-school-dJICd7b_LlE-unsplash-768×576.jpg.webp
    – send to optimization main image:
    /wp-content/uploads/2021/03/product-school-dJICd7b_LlE-unsplash.jpg
    see that image cannot be improved and return -7

    And move to the next.
    With current coding there is not a test main image, to see if optimized version exists

    How many images do you have?
    I have a way, I tested it on one of my sites, to skip all images before a specific image.
    There is this code, here: https://pastebin.com/60DvwvR3 that can be added to a php file( name it: image.php) on root of your site ( https://your-site.com.au )
    It contains a xxxxxxx that need to be replaced with the id of latest image optimized.(You can find the ID from media galllery)
    Example: if latest is 122, write 122

    Then run the script by visiting: https://your-site.com.au/image.php

    In image optimization tab should write: Current image post id position: xxxxxx
    This mean the code run correctly.
    Now send images to optimization and see how it behaves.
    If something goes wrong, please do not click on Destroy All Optimization Data It will delete all optimized images. Instead click on Soft Reset Optimization Counter that will reset the last id optimized without removing data.

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.