asp网页
-
- <%
- response.expires=-1
- response.expiresabsolute=now()-1
- response.cachecontrol="no-cache"
- %>
复制代码
php网页
-
- header("expires:mon,26jul199705:00:00gmt");
- header("cache-control:no-cache,must-revalidate");
- header("pragma:no-cache");
- ?>
复制代码
jsp网页
-
- response.addHeader("pragma", "no-cache");
- response.addHeader("cache-control", "no-cache,must-revalidate");
- response.addHeader("expires", "0");
复制代码
|