From b80e01f36153981b586c31118fe394dda8ea4cc9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 4 Feb 2016 07:45:28 +0200 Subject: Add instructions on how to enable Apache2 compression for brep output --- INSTALL | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/INSTALL b/INSTALL index 4a0f45f..386fcb6 100644 --- a/INSTALL +++ b/INSTALL @@ -198,6 +198,15 @@ can also find this fragment in install/share/brep/etc/brep-apache2.conf): # Require all granted # +The output content type of the brep module is application/xhtml+xml and if you +would like to make sure it gets compressed (along with linked CSS), also add +the following lines: + + # Compress brep output (xhtml+xml) and CSS. + # + AddOutputFilterByType DEFLATE application/xhtml+xml + AddOutputFilterByType DEFLATE text/css + Restart Apache2: $ sudo systemctl restart apache2 -- cgit v1.1