Replacing jpg/png to webp and keeping compatibility
Hello there. I have over 5k pages where each has at least one image with extension .png or .jpg.
Now, I was checking my website performance here: https://pagespeed.web.dev/ and it shows my images load very long which gives low google score.
They suggested to me to use webp files which is okay however, I have plenty of images. Do I really need to convert each image to webp and than brute force each .cfm file to edit HTML for each image. That would be crazy.
Another thing here is that I would like to set that webp but still keep compatibility for browsers that don't support webp. That would probably involve using <picture> tag.
But, my main question here is if there is something coldfusion can do about this to automate this so that I don't have to trouble myself with such robust job?
