html设置强制缓存的方法

html设置强制缓存的方法

1 服务端设置好强制缓存后

总结 没命中缓存就走协商缓存 (如果requestheader 禁止缓存写死了 也会直接走协商缓存)

微信缓存机制不识别

<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
 


如果遇到什么不懂的地方直接关注公众号留言(本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须在文章页面给出原文连接,否则保留追究法律责任的权利。)
作者:newmiracle
出处:https://www.cnblogs.com/newmiracle/

 
原文地址:https://www.cnblogs.com/newmiracle/p/15601241.html