设置html页面不让浏览器缓存的方法

时间:2014-08-07 19:28:10   收藏:0   阅读:249

在html页面head标签之间添加以下标识可以避免大多数浏览器缓存:

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


设置html页面不让浏览器缓存的方法,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!