设置了禁用页面缓存的属性,为何不好用?设置如下:
    <meta http-equiv="Content-Type" content="text/html; charset=x-euc-jp">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
    <meta http-equiv="expires" content="0">

解决方案 »

  1.   

    是不是jsp页面?是的话把response也设置一下看看。
    response.setHeader("Pragma", "No-cache");
    response.setHeader("Cache-Control", "no-cache");
    response.setDateHeader("Expires", 0);
      

  2.   

    网页不会被缓存 
      HTM网页 
      <META HTTP-EQUIV="pragma" CONTENT="no-cache"> 
      <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate"> 
      <META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT"> 
      或者<META HTTP-EQUIV="expires" CONTENT="0"> 
      ASP网页 
      Response.Expires = -1 
      Response.ExpiresAbsolute = Now() - 1 
      Response.cachecontrol = "no-cache" 
      PHP网页 
      header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); 
      header("Cache-Control: no-cache, must-revalidate"); 
      header("Pragma: no-cache");