4 ms·
As Safari doesn't support AVIF, if you use it, you have to abandon all iPhone (and some Mac) users.
by LeoPanthera 6y ago
As Safari doesn't support AVIF, if you use it, you have to abandon all iPhone (and some Mac) users.
- egfx 6y agoSame with chrome on iOS devices.
- celsoazevedo 6y agoAll browsers on iOS are essentially Safari with a different skin. Apple doesn't allow devs to use their own engine.
- bhhaskin 6y agoOr use picture tags with multiple formats. Then it will gracefully fallback.
- LeoPanthera 6y agoBut then you lose all the space saving advantages.
- crazygringo 6y agoIsn't the cost savings usually more to do with bandwidth rather than space?
- celsoazevedo 6y agoThe main reason to use new formats online is to speed up page loading. Sites that do this usually have WebP (and now AVIF) and a safe format (JPG, PNG) as fallback. Often the size reduction is worth the extra disk space. Many sites also use CDNs that convert images on the fly, so they just need one file/URL and then the CDN sends WebP to browsers that support it and JPG to browsers that don't.
- darekkay 6y agoThe extra markup is usually worth it. AVIF support is already at 63%, with Firefox coming soon. So ~40% of people will get a few more HTML bytes, but 60% of people might profit from a bigger saving on images.
- re 6y agoIt might be coming; WebKit supports it now: https://bugs.webkit.org/show_bug.cgi?id=207750 https://bugs.webkit.org/show_bug.cgi?id=207750
- ksec 6y agoWhat are the chances that WebKit supports it but Apple / Safari dont. After all there are lots of other browsers / software based on WebKit.