webp-sh / webp_server_go

Go version of WebP Server. A tool that will serve your JPG/PNG/BMP/SVGs as WebP/AVIF format with compression, on-the-fly.
https://docs.webp.sh
GNU General Public License v3.0
1.83k stars 175 forks source link

iOS 16 supports AVIF and WebP #242

Closed n0vad3v closed 1 year ago

n0vad3v commented 1 year ago

From https://caniuse.com/avif we know that starting from iOS 16, it supports AVIF, but browser on iOS will not send the correct Accept header, on a testing machine (iPhone 11 + iOS 16.6 + Chrome), requests headers are:

While on Chrome on Linux, UA and accept are:

In cases above, if we found iPhone OS 16 in UA, we should be able to render WebP/AVIF to them, without checking their Accept header.

github-actions[bot] commented 1 year ago

ghcr.io/webp-sh/webp_server_go (debian 12.0)
============================================
Total: 0 (HIGH: 0, CRITICAL: 0)
github-actions[bot] commented 1 year ago

ghcr.io/webp-sh/webp_server_go (debian 12.0)
============================================
Total: 0 (HIGH: 0, CRITICAL: 0)
github-actions[bot] commented 1 year ago

ghcr.io/webp-sh/webp_server_go (debian 12.0)
============================================
Total: 0 (HIGH: 0, CRITICAL: 0)