Image Polish does change HTML?

What is the name of the domain?

zwischengas.com

What is the issue you’re encountering

Testing lossy JPG to WEBP conversion with Polish and don’t see any images being converted

What steps have you taken to resolve the issue?

Let’s say I have the following in an HTML: <img src="/images/a.jpg"/>
Question: does Cloudflare change the HTML to <img src="/images/a.webp"/> or how else does the conversion work?
I need to know this in order to adapt javascript libs that depend on the suffix “jpg”.

It does not change HTML. The URL will still be .jpg but the content-type will be image/webp

This topic was automatically closed after 15 days. New replies are no longer allowed.