php实现通过http头禁止浏览器缓存

2015-01-19 0 565
php实现通过http头禁止浏览器缓存
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');

遇见资源网 php php实现通过http头禁止浏览器缓存 http://www.ox520.com/7237.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务