apache config to compress html output if possible
[sheet.git] / .htaccess
index 24ee14d3f0d0ef874a4838edfa1de4985d6a42ab..bd6e1a7d201b83f8acfc6289b2603357bca73f2f 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -10,3 +10,6 @@ RewriteRule    ^(digraphs)\.ex(/.*)?$ $1.vim$2
 RewriteCond    %{REQUEST_FILENAME}.plp  -f
 RewriteRule    ^/*([^/]+)(.*)           $1.plp$2
 
+# compress html output if accepted by client
+AddOutputFilterByType DEFLATE text/html
+