开发者社区 问答 正文

关于html页面头部的on-cache无效问题 : 配置报错 

<meta http-equiv="pragma" content="no-cache">

<meta http-equiv="cache-control" content=" no-cache, no-store, must-revalidate"> 

<meta http-equiv="expires" content="0"> 
想请问一下了解过的朋友.这一段没有其效果的原因

---

展开
收起
kun坤 2020-06-04 13:14:01 1137 分享 版权
1 条回答
写回答
取消 提交回答
  • 今天遇到了类似的问题,拿出来几个小时的时间,使用firefox,chrome分别进行了测试。 结论是:     浏览器完全无视设置,全部进行缓存!

    2020-06-05 13:16:48
    赞同 展开评论