• Hello My Friends at LiteSpeed Cache,

    1. I have a technical question regarding your plugin because I am conducting an in-depth comparison of WordPress image optimization plugins. The question is about the image optimizer feature in LiteSpeed Cache plugin.

    Could you please clarify the following behavior?

    Suppose a user uploads this file:

    example.jpg or example.png

    After your plugin optimizes and converts it to WebP or AVIF, what exactly happens to the original (source) uploaded JPG/PNG file?

    To avoid any misunderstanding, I’m not asking about backup files created before optimization.

    I’m specifically asking about the original (source) uploaded image that WordPress stores in the Media Library.

    Which of the following best describes your plugin’s behavior?

    Option A

    • The original JPG/PNG remains on disk.
    • A WebP/AVIF version is created alongside it.
    • Both files continue to exist on the server.

    Option B

    • After successful conversion, the original JPG/PNG is automatically deleted.
    • The optimized WebP/AVIF becomes the only image stored on disk.
    • WordPress Media Library is updated to use the new image.

    2. If your plugin supports both behaviors, could you please specify:

    • Which option is the default?
    • Which settings enable each behavior?

    3. If the original JPG/PNG is deleted (Option B), are all generated WordPress image sizes (thumbnails, medium, large, etc.) also generated from the WebP/AVIF image, and does this remain fully compatible with the standard WordPress Media Library and image editing features?

    Or does your plugin intentionally keep the original JPG/PNG to maintain compatibility with WordPress core and third-party plugins?

    4. If the original JPG/PNG is deleted (Option B), does it work for pre-existing images? Or just work for new uploads?

    Thank you very much for your clarification.

Viewing 1 replies (of 1 total)
  • Plugin Support qtwrk

    (@qtwrk)

    for 1) , it’s more like option A, I will make example to make it more clear to you.

    say you have something.jpg , when you upload, WP itself will generate , say something-100x100.jpg and something-500x500.jpg

    by default, then it will become

    something.jpg
    something.bk.jpg
    # the original backup , if you set (Remove Original Backups) to ON ,
    # the .bk.jpg will not be created

    something.jpg.webp
    something.jpg.avif
    # if you enable webp/avif replacement feature,
    # only one version at time, either webp or avif , they don't get created at same time.

    something-100x100.jpg
    something-100x100.bk.jpg
    something-100x100.jpg.webp
    something-500x500.jpg
    something-500x500.bk.jpg
    something-500x500.jpg.webp

    the webp/avif feature will NOT remove its original jpg version

    for 2) there is no option to control or remove the original jpg version after you have webp/avif version

    for 3/4) since 2) is not true, the 3) and 4) don’t apply.

    • This reply was modified 3 days, 8 hours ago by qtwrk.
    • This reply was modified 3 days, 8 hours ago by qtwrk.
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.