Archived topic
WEBP images
2 replies · Started by Alan on August 7, 2021
Hi
I have been looking at ways of speeding up my website by converting my images to WEBP. I am aware that the recent word press 5.8 update now supports WEBP. I also have the litespeed cache plug-in installed because my server is litespeed. That plug-in also has the option to convert images to WEBP format. I would prefer not to use a plug-in if I could. I’m also aware that some browsers have limited support for WEBP images. When I have looked online I can’t find out if WordPress will serve an alternate type of image if the users browser doesn’t recognise WEBP.
What is the easiest way of adding WEBP images to a website? I have uploaded a WEBP image into the media library and pasted it on a page. I’m mainly concerned about browsers that don’t recognise WEBP.
Thanks,
Alan
You might simply consider optimizing your jpgs, lazy loading (litespeed plugin does this), and make sure you don't have any large pngs with transparent backgrounds. Here is one opinion on Web P.
I've never used Litespeed plugin to optimize images, but I believe it will compress jpgs. You could also try something like Shortpixel. I often deactivate the plugin when I'm not using it.
Good luck!
Hi Alan,
thats correct, WordPress now supports uploading WebP images. But it doesn't provide any fallback for browsers that don't support webP - which is a problem as those older browsers won't display any image.
As you have a Litespeed server, using its built in options would be the best and easiest way to go.