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" />

 

 

 

 

 
posted @ 2021-11-25 09:08  newmiracle宇宙  阅读(753)  评论(0编辑  收藏  举报