php通过header禁用缓存

来源:互联网 发布:linux makefile 编译 编辑:程序博客网 时间:2024/04/27 07:47
<?php
//通过header来禁用缓存
header("Expires:-1");
header("Cache-Control:no_cache");
header("Pragma:no-cache");


?>
原创粉丝点击