清除页面缓存

实现方法:html设置meta标签

<!--HTML的head标签里添加如下代码即可 -->
Expires:期限
<meta http-equiv="Expires" content="0">
Pragma:<meta http-equiv="Pragma" content="no-cache">
Cache:缓存  control:控件 no-cache:不缓存
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Cache" content="no-cache">

猜你喜欢

转载自blog.csdn.net/xiaokangna/article/details/123221602