`
mywebcode
  • 浏览: 1004408 次
文章分类
社区版块
存档分类
最新评论

用Meta 取消流量器缓存方便调试

 
阅读更多
 <!-- 禁止浏览器从本地缓存中调阅页面。-->
    <meta http-equiv="pragram" content="no-cache">

    <!--网页不保存在缓存中,每次访问都刷新页面。-->

    <meta http-equiv="cache-control" content="no-cache, must-revalidate">

    <!--同上面意思差不多,必须重新加载页面-->
    <meta http-equiv="expires" content="0">

    <!--网页在缓存中的过期时间为0,一旦网页过期,必须从服务器上重新订阅-->
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics