如何禁止百度移动搜索转码的方法?
毒药 1450阅读
第一种,HTTP Response中显式声明Cache-control为no-transform。
第二种,meta标签中显式声明Cache-control为no-tranform,格式为:
<head>
<meta http-equiv="Cache-Control" content="no-transform " />
</head>
本人建议:在head中把no-transform和no-siteapp都加上
<head>
<meta name="applicable-device" content="pc,mobile">
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
</head>
推荐阅读:
no-siteapp和no-transform的区别?
1450阅读
目前尚无回复
请 登录 后发表评论