不缓存方法封装
public function disCache(){ $ts = gmdate("D, d M Y H:i:s",strtotime('-1 year')) . " GMT"; header("Expires: $ts"); header("Last-Modified: $ts"); header("Pragma: no-cache"); header("Cache-Control: no-cache, must-revalidate"); }
扫一扫分享
404
帖子
30
小组
2177
积分
发帖
回复
分享