PHP让页面马上过期
By admin
- One minute read - 19 wordsheader("Expires: ".gmdate("D, d M Y H:i:s",time()-1)." GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
By admin
- One minute read - 19 wordsheader("Expires: ".gmdate("D, d M Y H:i:s",time()-1)." GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");