From 177a1f19c2ed9157000f9fc05d136a259f9a10e8 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 19 Dec 2016 17:17:08 +0200 Subject: [PATCH] htaccess --- .htaccess | 10 ++++++++++ 1 file changed, 10 insertions(+), 0 deletions(-) diff --git a/.htaccess b/.htaccess index cd68844..c07bb45 100644 --- a/.htaccess +++ b/.htaccess @@ -19,4 +19,14 @@ AddDefaultCharset utf-8 RewriteCond %{HTTP:Accept-encoding} gzip RewriteCond %{REQUEST_FILENAME}.gz -f RewriteRule ^(.*)$ $1.gz [QSA,L] + + + + mod_gzip_on Yes + mod_gzip_dechunk Yes + mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$ + 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