Category: Apache

How to enable GZip Compression on Apache at root/global level:

Add the following to the bottom of the /etc/httpd/conf/httpd.conf

# Deflate output configuration
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript 
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678 no-gzip
BrowserMatch bMSIE no-gzip gzip-only-text/html



How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.