首页 文章

遇到gzip问题

提问于
浏览
0

我有一些gzip编码的问题,我只是想不出来!我添加了我的htaccess "AddOutputFilterByType DEFLATE ... ..."并使用http://www.gidnetwork.com/tools/gzip-test.php中的工具来检查我的页面是否编码正确 . 该工具说一切都好 .

问题是,当我使用chrome或firebug中的Web开发人员工具检查页面时,他们无法将页面识别为gzip . 在 Headers 部分,“content-encoding:gzip”没有出现,PageSpeed也表示它们没有编码,建议我对它们进行编码 .

有任何想法吗?谢谢 .

Adi Ulici

1 回答

  • 1

    AddOutputFilterByType 已弃用,请尝试使用 AddOutputFilter ,例如

    AddOutputFilter DEFLATE php js css html

相关问题