[PATCH] Add image/avif to conf/mime.types

André Rømcke andre.romcke at gmail.com
Tue Oct 19 13:32:57 UTC 2021


man. 27. sep. 2021 kl. 10:55:
>
> Format is stable and broader AVIF support (& likely also adoption) is incoming:
>
> - About 1/2 size compared to jpeg, 2/3 of webp, and roughly 1/1 with JPEG XL*
> - Already supported in Chrome and Firefox:
>     - Also in Chromium** so soon in Edge, Opera, ...
>     - And apparently landed in Webkit***
>
>
> Kind regards.
>
>
> * JPEG XL bitstream is frozen, but still work in progress & not
> supported out of the box:
> - https://en.wikipedia.org/wiki/JPEG_XL
> - https://caniuse.com/jpegxl
>
> ** https://bugs.chromium.org/p/chromium/issues/detail?id=960620
>
> *** https://bugs.webkit.org/show_bug.cgi?id=207750

Patch inline as attachment did not seem to work:

diff -r bfad703459b4 conf/mime.types
--- a/conf/mime.types   Wed Sep 22 10:20:00 2021 +0300
+++ b/conf/mime.types   Mon Sep 27 10:13:55 2021 +0200
@@ -15,6 +15,7 @@
     text/vnd.wap.wml                                 wml;
     text/x-component                                 htc;

+    image/avif                                       avif;
     image/png                                        png;
     image/svg+xml                                    svg svgz;
     image/tiff                                       tif tiff;


More information about the nginx-devel mailing list