如果浏览器不支持gzip,会发生什么? [英] What happens if a browser doesn't support gzip?
本文介绍了如果浏览器不支持gzip,会发生什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用 mod_deflate
通过 .htaccess
文件在站点上启用gzip。
I'm using mod_deflate
to enable gzip on a site via the .htaccess
file.
如果不支持gzip的浏览器访问该网站会发生什么?
What happens if a browser that doesn't support gzip visits the site ?
推荐答案
然后服务器不发送gzip。这就是来自浏览器的 Accept-Encoding:标题的全部内容,这表明该标题中没有 gzip。
Then the server doesn't send gzip. That's the whole point of the "Accept-Encoding:" heading from the browser, which indicates this by not having "gzip" in that header.
这篇关于如果浏览器不支持gzip,会发生什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文