• Resolved 9itish

    (@9itish)


    Hi,

    LiteSpeed takes jpeg or png images on my website and converts them to optimized webp versions.

    Let’s say an image is at path: https://website.com/wp-content/uploads/something.jpg. LiteSpeed creates an optimized version of the website at https://website.com/wp-content/uploads/something.jpg.webp.

    Now, what if I update the https://website.com/wp-content/uploads/something.jpg image with new content without changing the path of the image? Will LiteSpeed be able to detect the change and create a new optimized version of https://website.com/wp-content/uploads/something.jpg.webp that replaces the old image?

    If LiteSpeed cannot detect this change, what can I do to update the optimized images to use newer version?

    Please let me know if I did not explain the question properly. ??

    Thanks.

Viewing 1 replies (of 1 total)
  • The LiteSpeed Cache plugin won’t handle that, because that’s not how WordPress works, doing this, you’re going against the design of WordPress, and thus also cannot guarantee plugins handles it either.

    If you, however, want to do it, then you’d have to modify the database table <db_prefix>_litespeed_img_optm and delete the information matching the given src path for the image, that would make the plugin think the optimization never took place, and thus it can be optimized again (you may have to click “Rescan New Thumbnails” to detect this).

    It’s however unsupported, and it’s at your own risk.

    Ideally, upload a new image, and update the posts that require the new images. That’s the official WordPress way to do it.

Viewing 1 replies (of 1 total)
  • The topic ‘QUIC.cloud webp image optimization’ is closed to new replies.