图片用以下代替
<script>document.write("<image src='RandImage?"+Date.parse(new Date())+"'>")</script>
<script>document.write("<image src='RandImage?"+Date.parse(new Date())+"'>")</script>
在需要取消缓存的页面头部加上如下代码:
<%
response.setHeader(”Expires”,”0″);
response.setHeader(”Cache-Control”,”no-store”);
response.setHeader(”Pragrma”,”no-cache”);
response.setDateHeader(”Expires”,0);
%>
response.setHeader(”Expires”,”0″);
response.setHeader(”Cache-Control”,”no-store”);
response.setHeader(”Pragrma”,”no-cache”);
response.setDateHeader(”Expires”,0);
%>