From 9682865d420c1e14b5dea120e49ad1dfb9766a4c Mon Sep 17 00:00:00 2001 From: neingeist Date: Wed, 27 Nov 2013 09:16:33 +0100 Subject: [PATCH] apparently we are using mod_deflate --- .htaccess | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.htaccess b/.htaccess index 9bb05ed..2a57076 100644 --- a/.htaccess +++ b/.htaccess @@ -5,20 +5,10 @@ # zip zip zip - -mod_gzip_on Yes -mod_gzip_dechunk Yes - -mod_gzip_minimum_file_size 300 - -mod_gzip_item_include file .(html?|txt|css|js|json|php|pl)$ -mod_gzip_item_include handler ^cgi-script$ - -mod_gzip_item_include mime ^application/x-javascript.* -mod_gzip_item_exclude mime ^image/.* -mod_gzip_item_include mime ^text/.* -mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* - + +AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript +AddOutputFilter DEFLATE json + # early charset AddDefaultCharset UTF-8