当前位置:主页 > 查看内容

页面中防止缓存的解决方法

发布时间:2021-05-29 00:00| 位朋友查看

简介:解决方案: 在head中加上以下代码, 复制代码 代码如下: base target="_self" meta http-equiv='pragma' content='no-cache' meta http-equiv='Cache-Control' content='no-cache, must-revalidate' meta http-equiv='expires' content='0' 原文链接:https:/……
解决方案
在<head>中加上以下代码,

复制代码
代码如下:

<base target="_self">
<meta http-equiv='pragma' content='no-cache'>
<meta http-equiv='Cache-Control' content='no-cache, must-revalidate'>
<meta http-equiv='expires' content='0'>

原文链接:https://m.jb51.net/web/33539.html
本站部分内容转载于网络,版权归原作者所有,转载之目的在于传播更多优秀技术内容,如有侵权请联系QQ/微信:153890879删除,谢谢!
上一篇:你需要知道的18个Web可用性原则 下一篇:没有了

推荐图文

  • 周排行
  • 月排行
  • 总排行

随机推荐