GIPZ 压缩
网页输出需要进行 gzip 压缩 以提高传输速度,测试 APACHE 开启gzip 压缩后 php 继续进行压缩 无明显效果 所以 一方开启就可以了 只是本人测试
另 apache 2.4 开启 gzip 压缩
更改 httpd.conf
开启 mod_deflate mod_filter
<IfModule mod_deflate.c>
DeflateCompressionLevel 6
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/x-httpd-php
AddOutputFilter DEFLATE css js
</IfModule>