DEV Community

Discussion on: Image optimisation

Collapse
 
benbao profile image
Benjamin Bromberg

I would disagree that webP has not enough support. It works everywhere except safari and iOS.

Given that there are a lot of ways to control what format is loaded and to provide alternative fallbacks I think strategies that exclude newer approaches are not addressing the full potential.

Collapse
 
yashints profile image
Yaser Adel Mehraban

You're completely right Benjamin, although the support is not there yet. I updated the post and added a snippet to show how to add WebP and have a fallback ๐Ÿ˜Š