apache_conf 启用GZIP压缩#optimization #gzip #htaccess

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了apache_conf 启用GZIP压缩#optimization #gzip #htaccess相关的知识,希望对你有一定的参考价值。

## START GZIP Compression ##
  <IfModule mod_deflate.c>
    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 application/x-httpd-php
    AddOutputFilterByType DEFLATE application/x-httpd-fastphp
    AddOutputFilterByType DEFLATE image/svg+xml
    SetOutputFilter DEFLATE
  </IfModule>
## END GZIP Compression ##

以上是关于apache_conf 启用GZIP压缩#optimization #gzip #htaccess的主要内容,如果未能解决你的问题,请参考以下文章

apache_conf 启用GZIP压缩#optimization #gzip #htaccess

apache_conf 启用GZIP压缩(.htaccess)

apache_conf 通过启用gzip压缩来提高页面速度。在WordPress中添加到.htaccess

apache_conf gzip压缩压缩

apache_conf GZIP压缩

apache_conf GZip压缩