#Add deflate module for enable GZIP function
LoadModule deflate_module modules/mod_deflate.so
#Add GZIP config filetype
AddOutputFilterByType DEFLATE text/html text/php text/png text/jpg text/plain text/css text/xml text/javascript
#Set compression level
DeflateCompressionLevel 9
#Hook on output filter
SetOutputFilter DEFLATE