From: Ben Harris Date: Sat, 18 Oct 2025 16:31:40 +0000 (+0100) Subject: Enable "deflate" filter for XHTML and fonts in .htaccess X-Git-Tag: bedstead-3.261~73 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=81fdc813c973c2c7a6a6bebad638b60e9c654559;p=bedstead.git Enable "deflate" filter for XHTML and fonts in .htaccess The configuration on chiark already compresses most HTML content types, and OTF fonts (especially Bedstead) are very compressible. --- diff --git a/.htaccess b/.htaccess index 22a6186..48d2016 100644 --- a/.htaccess +++ b/.htaccess @@ -1,3 +1,4 @@ DirectoryIndex index.xhtml AddType application/xhtml+xml;charset=UTF-8 .xhtml AddType font/otf;outlines=CFF .otf +AddOutputFilterByType DEFLATE application/xhtml+xml font/otf