From c7e06a331dc8f19916625e16f23938149aa38b4d Mon Sep 17 00:00:00 2001 From: timur Date: Mon, 20 Nov 2017 19:00:33 +0200 Subject: [PATCH] gzip --- .htaccess | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index cf009bf..ce7ee7f 100755 --- a/.htaccess +++ b/.htaccess @@ -41,4 +41,15 @@ AddDefaultCharset utf-8 RewriteCond %{REQUEST_URI} \.(htaccess|htpasswd|svn|git) RewriteRule \.(htaccess|htpasswd|svn|git) - [F] - \ No newline at end of file + + + + mod_gzip_on Yes + mod_gzip_dechunk Yes + mod_gzip_item_include file .(html?|txt|css|js|php|pl)$ + mod_gzip_item_include handler ^cgi-script$ + mod_gzip_item_include mime ^text/.* + mod_gzip_item_include mime ^application/x-javascript.* + mod_gzip_item_exclude mime ^image/.* + mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* + \ No newline at end of file -- libgit2 0.21.4