这个是通过HTML实现的。找本资料来看看就知道了~

解决方案 »

  1.   

    从http://www.csdn.net/Expert/topic/475/475795.shtm引用jacklondon(jacklondon)的:header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
    header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "GMT");
    header("Cache-Control: no-cache, must-revalidate");
    header("Pragma: no-cache"); 
    或者:
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <title></title>
    </head> 
      

  2.   

    <?header("Expires: ".date(gettimeofday())."");?>  
    这个也可以啊,不过要记住啊,因为是头信息,所以在输出之前不能有其他的输出啊,后来在PHP 4.0中增加了新的函数,可以缓存后再输出,具体的,我也不记得了,大家找一些资料吧,。。