meta标签设置不缓存

 

平常调试的时候总是因为缓存问题有些浪费时间,加上这几行代码就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" />

posted @ 2017-08-15 17:35  瓶子2333  阅读(1682)  评论(0编辑  收藏  举报