diff --git a/h5bp/location/web_performance_filename-based_cache_busting.conf b/h5bp/location/web_performance_filename-based_cache_busting.conf index 9a27684..b788e8f 100644 --- a/h5bp/location/web_performance_filename-based_cache_busting.conf +++ b/h5bp/location/web_performance_filename-based_cache_busting.conf @@ -9,6 +9,6 @@ # something like `*.css?v231`, please see: # https://www.stevesouders.com/blog/2008/08/23/revving-filenames-dont-use-querystring/ -location ~* (.+)\.(?:\w+)\.(bmp|css|cur|gif|ico|jpe?g|m?js|png|svgz?|webp|webmanifest)$ { +location ~* (.+)\.(?:\w+)\.(avifs?|bmp|css|cur|gif|ico|jpe?g|m?js|a?png|svgz?|webp|webmanifest)$ { try_files $uri $1.$2; } diff --git a/mime.types b/mime.types index 0d039d8..a899b72 100644 --- a/mime.types +++ b/mime.types @@ -39,6 +39,8 @@ types { audio/x-realaudio ra; audio/x-wav wav; audio/x-matroska mka; + image/avif avif; + image/avif-sequence avifs; image/bmp bmp; image/gif gif; image/jpeg jpeg jpg;