aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-02-04 07:45:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-02-04 07:45:28 +0200
commitb80e01f36153981b586c31118fe394dda8ea4cc9 (patch)
tree18ab37c7c95e9c3b475978dba5ef3893ad1465ad /INSTALL
parent1c0cead479ac823b1d2e4f651347dac78b0f7b2f (diff)
Add instructions on how to enable Apache2 compression for brep output
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL9
1 files changed, 9 insertions, 0 deletions
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
#</Directory>
+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