首页 > Web开发 > 详细

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

时间:2016-02-04 16:15:28      阅读:219      评论:0      收藏:0      [点我收藏+]
解决方案:
在<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‘>

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

原文:http://www.jb51.net/web/33539.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!