I have a problem on one website. I have all the webp files generated on the server but none of them are served. I have checked the htaccess file and as I didn’t find any rewrite rule I copied this one :
Yes I can see the webp files in the uploads directory and they are accessible.
As it’s really important I did some test yesterday. In your plugin there is an option to delete all the optimization data. I have done this yesterday, and the webp files were requested during the night. I was hoping that could solve the problem.
I have the message : Image groups total: Congratulations, all requested!
If I go to the media library I can see that there are still some files which don’t have the webp but most of them are generated. This seems normal as I have reached the daily limit of 500 files generated.
But it’s still the same, none of the webp files are displayed.
The strange thing is that if I log to the admin and display the website all the webp files are now correctly displayed.
The report number is RHJPZHKO
Thanks
This reply was modified 2 years, 4 months ago by lponce.
Yes. That’s working now and most of the webp files are displayed. I don’t know what happened. Is there any delay between the fact that the webp file is generated and the fact it is managed by the cache ?
One last question, how can I generate webp for the media files that still don’t have the webp file format ? Is it possible to push a specific media file to quic.cloud in order to generate the webp file ?
When I go to the admin in image optimization, there’s no way to do manually an optimization request.
Thanks for your answer. The webp files appear on chrome but not in safari (Sonoma) which should display them. Could be maybe my htaccess snippet which is incorrect. Do you have some redirecting rules for webp files I could integrate in the htaccess file ?
I don’t understand how litespeed chose the images in the media library and decide to convert in webp format or not. It’s quite mysterious as the images that don’t have the webp format are simple jpeg or png files.
After a lot of trials and errors I managed to find the htaccess rules that work correctly. I mean webp files displayed on the browsers compatible with this format and jpeg, png files for the others. In case some people have problems with webp files like me here it is :