diff --git a/h5bp/location/web_performance_filename-based_cache_busting.conf b/h5bp/location/web_performance_filename-based_cache_busting.conf index b788e8f9..cb9274f1 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+)\.(avifs?|bmp|css|cur|gif|ico|jpe?g|m?js|a?png|svgz?|webp|webmanifest)$ { +location ~* (.+)\.(?:\w+)\.(avifs?|bmp|css|cur|gif|ico|jpe?g|jxl|m?js|a?png|svgz?|webp|webmanifest)$ { try_files $uri $1.$2; } diff --git a/mime.types b/mime.types index 52cd5e14..bf2e89fb 100644 --- a/mime.types +++ b/mime.types @@ -45,6 +45,7 @@ types { image/bmp bmp; image/gif gif; image/jpeg jpeg jpg; + image/jxl jxl; image/jxr jxr hdp wdp; image/png png; image/svg+xml svg svgz;