就是告诉浏览器该页是即时更新的,不要缓存,每次访问该页都向Server发请求。

解决方案 »

  1.   

    要设置页面使其过多少分钟后到期,则应设置 Response.Expires 属性
    下面的例子告诉浏览器内容在 10 分钟内过期: <% Response.Expires = 10 
    %> 若将 Response.Expires 设置为负数或 0,则禁用缓存。Response.CacheControl 属性,指示其内容是否可以让 HTTP 代理缓存。若将此属性设置为“Public”,代理就可以缓存此内容。 
      

  2.   

    第一个懂了
    第二个还想请教一下
    Response.CacheControl 属性
    设为Private和设为no-cache有什么不同啊
      

  3.   

    Value Description 
    Private  
          Only private caches may cache this page. This is the default value. Most proxy servers will not cache pages with this setting.  Public 
          Public caches, such as proxy servers, will cache pages with this setting.