php不能清空你的缓存,要是能,岂不天下大乱。

解决方案 »

  1.   

    php只能设为不记缓存。要是已经记了的。期望对方按到f5或缓存时间到期吧。
      

  2.   

    只能做到不缓存
    header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT");    // Date in the past
    header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified
    header ("Cache-Control: no-cache, must-revalidate");  // HTTP/1.1
    header ("Pragma: no-cache");                          // HTTP/1.0即便这样,也不是任何时候都有效的