Seeking Solution for Handling WebP Fallback for Email and WhatsApp Platforms

Status
Not open for further replies.

sujo

New Member
#1
Hi everyone,
I’m currently using the LiteSpeed Cache plugin to optimize images on my WordPress website, and I've enabled the WebP image generation feature for browsers that support it. The plugin works great for website optimization, but I’ve encountered an issue with WebP images not being supported by email platforms and WhatsApp chat support, which require fallback formats like JPEG or PNG.
I was wondering if anyone here has found a way to:
  1. Serve WebP images for supported browsers (via LiteSpeed Cache).
  2. Ensure JPEG/PNG fallback images for email campaigns and WhatsApp chat messages (via platforms like Chatrace).
Is there a built-in option in LiteSpeed Cache to handle this, or are there any recommended workarounds for handling this scenario?
I’d really appreciate any insights or solutions you can share!
Thanks in advance!
 

serpent_driver

Well-Known Member
#2
Is there a built-in option in LiteSpeed Cache to handle this, or are there any recommended workarounds for handling this scenario?
There is a fallback solution integrated in the LScache plugin for Wordpress, but this fallback needs the main document to be requested, means, if a webp image is requested directly and the browser doesn't support webp this webp image can't be displayed by this browser. But you shouldn't worry about this, because webp is supported by all modern browsers since many years.
 

sujo

New Member
#3
There is a fallback solution integrated in the LScache plugin for Wordpress, but this fallback needs the main document to be requested, means, if a webp image is requested directly and the browser doesn't support webp this webp image can't be displayed by this browser. But you shouldn't worry about this, because webp is supported by all modern browsers since many years.
I think there are some exception like emails and platforms like WhatsApp. Images on emails and whatsapp seems broken.
 
Status
Not open for further replies.
Top