php 反缓存头部信息
反缓存头部信息 [代码片段(8行)]
header('Expires: 0');
header('Last-Modified: '. gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cahe, must-revalidate');
//ie专用
header('Cache-Control: post-chedk=0, pre-check=0', false);
//for HTTP/1.0
header('Pragma: no-cache');
//该片段来自于http://outofmemory.cn
- 上一篇:php数组组合算法
- 下一篇:php utf8 字符串切分成单字,高效版升级。
精彩图集
精彩文章






