标签:
Java 代码 设置response header
response.setDateHeader("Expires", 0); response.setHeader("Cache-Control", "no-cache"); response.setHeader("Pragma", "no-cache");
HTML在head设置
<meta http-equiv="Expires" content="0" /> <meta http-equiv="Cache-Control" content="no-cache" /> <meta http-equiv="Pragma" content="no-cache" />
标签:
原文地址:http://www.cnblogs.com/rubekid/p/4489525.html