From 345d831f918066131668d9ffeed1f8cb974eb168 Mon Sep 17 00:00:00 2001 From: Peter Keung Date: Fri, 22 Dec 2017 13:41:34 -0800 Subject: [PATCH] Add gzip encoding by default --- doc/apache2/vhost.template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/apache2/vhost.template b/doc/apache2/vhost.template index eff3ac53..56840882 100644 --- a/doc/apache2/vhost.template +++ b/doc/apache2/vhost.template @@ -188,4 +188,9 @@ #ExpiresDefault "now plus 30 days" # + + # Enable gzip encoding + + AddOutputFilterByType DEFLATE text/css application/x-javascript application/javascript text/javascript text/plain text/html text/xml application/xml +