Apache Compression

Home » CentOS » Apache Compression
CentOS 1 Comment

I have a CentOS 7 install with apache running. How do I get apache to use gzip compression on html and text based content?

One thought on - Apache Compression

  • I don’t know how definitive it is, but this is what I use here:


    AddOutputFilterByType DEFLATE text/text 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 AddOutputFilterByType DEFLATE image/x-icon DeflateCompressionLevel 9

LEAVE A COMMENT