简要咨询咨询QQ网站导航网站搜索手机站点联系我们设为首页加入收藏 

清除网页缓存(html asp php java

来源:易贤网   阅读:713 次  日期:2014-12-09 11:24:27

温馨提示:易贤网小编为您整理了“清除网页缓存(html asp php java”,方便广大网友查阅!

代码如下:

html网页

<meta http-equiv=pragma content=no-cache>

<meta http-equiv=cache-control content=no-cache, must-revalidate>

<meta http-equiv=expires content=wed, 26 feb 1997 08:21:57 gmt>

或者<meta http-equiv=expires content=0>

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技术专栏

更多信息请查看网络编程
点此处就本文及相关问题在本站进行非正式的简要咨询(便捷快速)】     【点此处查询各地各类考试咨询QQ号码及交流群
上一篇:为ckeditor编辑器修改添加一键排版功能
下一篇:ado.net应用层分页技术
易贤网手机网站地址:清除网页缓存(html asp php java
由于各方面情况的不断调整与变化,易贤网提供的所有考试信息和咨询回复仅供参考,敬请考生以权威部门公布的正式信息和咨询为准!