清除网页缓存(html asp php java
2014-12-09来源:

代码如下:

html网页

或者

asp网页

response.expires = -1

response.expiresabsolute = now() - 1

response.cachecontrol = no-cache

php网页

header(expires: mon, 26 jul 1997 05:00:00 gmt);

header(cache-control: no-cache, must-revalidate);

header(pragma: no-cache);

jsp网页

response.setheader(pragma, no-cache);

response.setheader(cache-control, no-cache);

response.setdateheader(expires, 1);

更多信息请查看IT技术专栏

2026公务员·事业单位培训课程试听报名

  • 报班类型
  • 姓名
  • 手机号
  • 验证码
推荐信息
Baidu
map