我有一些gzip编码的问题,我只是想不出来!我添加了我的htaccess "AddOutputFilterByType DEFLATE ... ..."并使用http://www.gidnetwork.com/tools/gzip-test.php中的工具来检查我的页面是否编码正确 . 该工具说一切都好 .
问题是,当我使用chrome或firebug中的Web开发人员工具检查页面时,他们无法将页面识别为gzip . 在 Headers 部分,“content-encoding:gzip”没有出现,PageSpeed也表示它们没有编码,建议我对它们进行编码 .
有任何想法吗?谢谢 .
Adi Ulici
1 回答
AddOutputFilterByType
已弃用,请尝试使用AddOutputFilter
,例如AddOutputFilter DEFLATE php js css html