php 禁止页面缓存输出_PHP教程
程序员文章站
2022-04-20 18:05:37
...
复制代码 代码如下:
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');
?>
上一篇: PHP常用的三种设计模式
下一篇: SQL2005日志收缩方法