Add webp support just like pngquant and jpegmini
most of the platforms like wordpress and others are capable of using webp and other image compressions. Although i do not see webp as an option as of now on cloudways. We do have pngquant and jpgmini or something but webp is the best in optimising image size and reducing page loads for all.
The necessary libraries could be added as a package and administrators can use ssh access on there server to convert files in batch or individual based on choice.
Peeyoosh Kumar commented
I checked and found npm is already there on the server. so its just a package addon https://www.npmjs.com/package/cwebp