From: Ben Harris Date: Sat, 18 Oct 2025 22:45:47 +0000 (+0100) Subject: Add more compressible types in .htaccess X-Git-Tag: bedstead-3.261~72 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=245ab8e8195695f8336e1a41f2870f8b677543a1;p=bedstead.git 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. --- 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