From 2da8c0f2588b5bc010d81aca11ac13aa8021bfa9 Mon Sep 17 00:00:00 2001 From: Jude Rosario Date: Tue, 10 Feb 2015 21:53:35 +0530 Subject: [PATCH] Inline comments as suggested by @phanan in #2 --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 44fd9a3..f151cc0 100644 --- a/README.md +++ b/README.md @@ -300,9 +300,12 @@ FileETag None Gzipping an easy way to reduce weight per page of your site. -For `httpd-2.2` + ```apacheconf + +#For Apache 2.2 + # Compress Text, HTML , JS, CSS, XML: AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html @@ -319,10 +322,9 @@ AddType x-font/eot .eot AddType x-font/woff .woff AddType image/x-icon .ico AddType image/png .png -``` -For `httpd-2.4` and up, in apache 2.2 you should enable `filter_module` and `deflate_module`. -```apacheconf +# For Apache 2.4 + + # Declare a filter, which runs after all internal filters like PHP or SSI FilterDeclare gzip CONTENT_SET