From 19d627bfed74e4cfe36a33fd7f233eecbae4a36f Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Sun, 14 Mar 2021 10:59:59 -0500 Subject: [PATCH] Add AVIF content-type to Apache config --- config/apache/standardebooks.org.conf | 2 ++ config/apache/standardebooks.test.conf | 2 ++ 2 files changed, 4 insertions(+) diff --git a/config/apache/standardebooks.org.conf b/config/apache/standardebooks.org.conf index 3b3917dc..17ca321a 100644 --- a/config/apache/standardebooks.org.conf +++ b/config/apache/standardebooks.org.conf @@ -11,6 +11,7 @@ UseCanonicalName on LogLevel warn AddOutputFilterByType deflate image/svg+xml AddType application/font-woff2 .woff2 +AddType image/avif .avif TraceEnable off Protocols h2 h2c http/1.1 @@ -19,6 +20,7 @@ ExpiresActive On ExpiresByType application/font-woff "access plus 1 month" ExpiresByType application/font-woff2 "access plus 1 month" ExpiresByType application/javascript "access plus 1 month" +ExpiresByType image/avif "access plus 1 month" ExpiresByType image/gif "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" diff --git a/config/apache/standardebooks.test.conf b/config/apache/standardebooks.test.conf index 17a9b4b7..f1c0b16e 100644 --- a/config/apache/standardebooks.test.conf +++ b/config/apache/standardebooks.test.conf @@ -11,6 +11,7 @@ UseCanonicalName on LogLevel warn AddOutputFilterByType deflate image/svg+xml AddType application/font-woff2 .woff2 +AddType image/avif .avif TraceEnable off Protocols h2 h2c http/1.1 @@ -19,6 +20,7 @@ ExpiresActive On ExpiresByType application/font-woff "access plus 1 month" ExpiresByType application/font-woff2 "access plus 1 month" ExpiresByType application/javascript "access plus 1 month" +ExpiresByType image/avif "access plus 1 month" ExpiresByType image/gif "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month"