From 245ab8e8195695f8336e1a41f2870f8b677543a1 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 18 Oct 2025 23:45:47 +0100 Subject: [PATCH] Add more compressible types in .htaccess It looks like by AddOutputFilterByType directive somehow overrides the defaults, and also there are a few more types that could usefully be compressd. So now it lists all the compressible file types in the directory. --- .htaccess | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index 48d2016..dbc5164 100644 --- a/.htaccess +++ b/.htaccess @@ -1,4 +1,5 @@ DirectoryIndex index.xhtml AddType application/xhtml+xml;charset=UTF-8 .xhtml AddType font/otf;outlines=CFF .otf -AddOutputFilterByType DEFLATE application/xhtml+xml font/otf +AddOutputFilterByType DEFLATE application/xhtml+xml text/css font/otf \ + text/plain text/x-csrc application/postscript -- 2.30.2