Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JudeRosario committed Feb 10, 2015
1 parent 85b96a4 commit 5e8d469
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ FileETag None

Gzipping an easy way to reduce weight per page of your site.

For `httpd-2.2` and below
For `httpd-2.2`

```apacheconf
# Compress Text, HTML , JS, CSS, XML:
Expand All @@ -320,9 +320,9 @@ AddType x-font/woff .woff
AddType image/x-icon .ico
AddType image/png .png
```
For `httpd-2.4` and up
For `httpd-2.4` and up, in apache 2.2 you should enable `filter_module` and `deflate_module`.

```
```apacheconf
# Declare a filter, which runs after all internal filters like PHP or SSI
FilterDeclare gzip CONTENT_SET
Expand All @@ -343,8 +343,7 @@ FilterProvider gzip DEFLATE resp=Content-Type $application/xml
# Add "gzip" filter to the chain of filters
FilterChain gzip
```
[Source: SoftScibe](http://softstribe.com/wordpress/enable-gzip-compression-in-wordpress)
[Source: SO](http://stackoverflow.com/questions/5230202/apache-addoutputfilterbytype-is-deprecated-how-to-rewrite-using-mod-filter)
[Source](http://softstribe.com/wordpress/enable-gzip-compression-in-wordpress)

## Miscellaneous

Expand Down

0 comments on commit 5e8d469

Please sign in to comment.