ENABLE GZIP COMPRESSION

Enable GZIP file compression. Currently compress *.css, *.js, *.html, *.xml and your RSS. Please contribute by adding your own mime types.


Author: Anonymous
Added: Monday, 14 Jul, 2014
Category: htaccess
Tags: Apache

Code

## ENABLE GZIP COMPRESSION ##
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
## ENABLE GZIP COMPRESSION ##

Comments