Transformations let you optimize and manipulate images stored outside of the Cloudflare Images product
Anyway just to confirm I enabled flexible variants and added the format=jpeg parameter to the URL. Still the served image comes with this header content-type: image/avif.
Yes. Both on the Cloudflare plan and Cloudflare Images.
This is a config for the CDN on our domain which I’m not using (images are served from the imagedelivery.net domain).
Yes I could host images anywhere and use the CF CDN but CF Images takes care of different variants, storage, etc.
Probably because FF is not sending image/avif in the request accept header (not because of the format=jpeg setting).
I checked and Safari 18.3 is not sending it either. Maybe the issue our customer is seeing is not related to webp of avif after all… hmmm I’ll have to see the headers their version.
Yes but that’s no guarantee. I’ve personally seen FLAC audio files failing on Safari in versions where it’s theoretically supported. Reported the bug to Apple and turned out to the a macOS issue.
Anyway, if you read my previous comment I’m not sure if Safari is actually receiving AVIF or WEBP now and I’ll need to confirm with our customer.
The challenge is that Images URLs don’t have extensions, so browsers aren’t sending image-specific Accept headers, which eventually fall back to */*.
It sounds like Cloudflare is sending formats that should be compatible with the browser, but if it’s not, then that may be an issue that Cloudflare Images devs could assist with.
Yep, but it helps to look at it from several angles, including different browsers.