From 34a1a8eb47f29099adc5b6f57850c8d1fd3d3f97 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Mon, 24 Jan 2022 15:15:19 -0600 Subject: [PATCH] gzip XHTML output --- config/apache/standardebooks.org.conf | 3 ++- config/apache/standardebooks.test.conf | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/apache/standardebooks.org.conf b/config/apache/standardebooks.org.conf index 67c9897c..8ecee0b1 100644 --- a/config/apache/standardebooks.org.conf +++ b/config/apache/standardebooks.org.conf @@ -8,9 +8,10 @@ ServerSignature off AddDefaultCharset utf-8 UseCanonicalName on LogLevel warn -AddOutputFilterByType deflate image/svg+xml AddType image/avif .avif AddType font/woff2 .woff2 +AddOutputFilterByType deflate image/svg+xml +AddOutputFilterByType deflate application/xhtml+xml TraceEnable off Protocols h2 h2c http/1.1 diff --git a/config/apache/standardebooks.test.conf b/config/apache/standardebooks.test.conf index d485c414..f41443ea 100644 --- a/config/apache/standardebooks.test.conf +++ b/config/apache/standardebooks.test.conf @@ -8,9 +8,10 @@ ServerSignature off AddDefaultCharset utf-8 UseCanonicalName on LogLevel warn -AddOutputFilterByType deflate image/svg+xml AddType image/avif .avif AddType font/woff2 .woff2 +AddOutputFilterByType deflate image/svg+xml +AddOutputFilterByType deflate application/xhtml+xml TraceEnable off Protocols h2 h2c http/1.1