Skip to content

Commit

Permalink
Inline comments as suggested by @phanan in phanan#2
Browse files Browse the repository at this point in the history
  • Loading branch information
JudeRosario committed Feb 10, 2015
1 parent 5e8d469 commit 2da8c0f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 2da8c0f

Please sign in to comment.