#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

 

posted on 2013-06-20 10:26  老游条  阅读(322)  评论(0编辑  收藏  举报