网页的缓存设置

默认页面会缓存在浏览器里,方便调用,有的时候更新网站需要强制刷新不方便 因此需要在头部加入meta标签

 

<meta http-equiv="pragma" content="no-cache">

<meta http-equiv="cache-control' content="no-cache">

<meta http-equiv="expires" content="'0">

 

参考资料

http://www.cnblogs.com/liuling/p/2013-7-25-01.html

posted @ 2016-04-14 11:05  星耀学园  阅读(192)  评论(0)    收藏  举报