Chinaunix首页 | 论坛 | 博客
  • 博客访问: 320447
  • 博文数量: 52
  • 博客积分: 6130
  • 博客等级: 准将
  • 技术积分: 470
  • 用 户 组: 普通用户
  • 注册时间: 2005-12-16 16:44
文章分类

全部博文(52)

文章存档

2012年(4)

2011年(2)

2010年(1)

2009年(5)

2008年(2)

2007年(2)

2006年(14)

2005年(22)

我的朋友

分类:

2007-08-20 01:49:44

HTM网页



或者

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);
阅读(2212) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~