首页 > Web开发 > 详细

meta标签设置不缓存

时间:2017-08-15 17:43:56      阅读:378      评论:0      收藏:0      [点我收藏+]

 

平常调试的时候总是因为缓存问题有些浪费时间,加上这几行代码就ok了

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

meta标签设置不缓存

原文:http://www.cnblogs.com/alan2kat/p/7366350.html

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