• The generation of webp using ShortPixel stopped working some time after 14th of April. It works when LiteSpeed plugin is inactive. I’ve changed no settings and delivery of webp works as before for the images that does have them.

    ShortPixel support team says: “I’ve seen this with another customer, but we can’t reproduce it in our environment, so it might be connected to some of the hosting environment settings”.

Viewing 8 replies - 16 through 23 (of 23 total)
  • Hello Pedro,

    Thank you for your kind reply and for clarifying the possible inconsistencies. I have to emphasize that I only know the Shortpixel plugin and how it works to a very limited extent. So I can only follow logic and very limited methods for image conversion. It should also be noted that neither you nor I can know the actual situation on @ben72’s server. This inevitably leads to the wrong conclusions being drawn if one does not know the exact situation on the affected server. This does not necessarily make it easier to investigate errors and causes.

    If @ben72 now says that he deactivated the webp replacement function in the LiteSpeed cache plugin, then the cache plugin logically has nothing to do with the occasional display of webp images. Then, in case of doubt, only the cache can play a role. However, this only applies if the shortpixel plugin changes the source of the tag and the file extension at the same time, depending on the browser support for webp images. If that were the case, then the Short Pixel plugin would be incompatible with the LScache plugin because it would require additional and differentiated cache vary in the .htaccess.

    However, you say that the webp images would not even be written to the file system. There is actually no logical explanation for this, especially since the cache plugin has no influence on the wp-content directory. However, it does affect the loading of Javascript or AJAX requests. Therefore one (you) would have to clarify whether the AJAX process you mentioned actually only runs in the backend.

    If we can’t find a solution, the plugin support would have to deal with it. I’m only an authorized LiteSpeed Support Partner.

    [ Signature deleted ]

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Side note: @serpentdriver I’ve removed your signature and flagged your account for moderation. This is not a new thing and if you repeat that again you will be banned from this site.

    Thank you for all the help but you already know that these forums are not for promotion. Don’t do that again.

    However, you say that the webp images would not even be written to the file system. There is actually no logical explanation for this, especially since the cache plugin has no influence on the wp-content directory. However, it does affect the loading of Javascript or AJAX requests. Therefore one (you) would have to clarify whether the AJAX process you mentioned actually only runs in the backend.

    Can you please detail how the loading of JavaScript and AJAX requests could be affected by the LS Cache plugin? Is there any documentation about this, or ar there any filters or hooks where we could connect to make our plugin work again with LS Cache? Do you know if there was any recent development in this direction on the LS Cache plugin? Thanks!

    Plugin Support qtwrk

    (@qtwrk)

    now that sounds weird , I could not even possible think how could LSCWP interferes with disk write operation , by any chance did you enable object cache ?

    after update litespeed cache to the newest version, With version 5.3.3 or older versions everything works find. Problem is:

    ShortPixel webp is not written to disk with LiteSpeed plugin active

    please help

    Thread Starter Ben Andersen

    (@ben72)

    @smithnguyen ShortPixel has a possible solution to the issue introduced after the Litespeed cache plugin update. They’ve implemented it on my dev site and it works. Webp images are created and does not get deleted after creation! ??

    @qtwrk Something changed from Litespeed cache 5.3.3 to 5.4 making webp generation not working. @shortpixel Can tell you more about this.

    We released yesterday version 5.3.0 of our plugin that fixes the issue. We have changed the integration with LS cache and now the double-extension WebP files are not deleted anymore . Thank you very much for your patience!

    Thread Starter Ben Andersen

    (@ben72)

    Thank you for the fix @shortpixel! I’ve tested it and it works!

    @smithnguyen give it a try.

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘ShortPixel webp is not written to disk with LiteSpeed plugin active’ is closed to new replies.