在后台添加此段语句 getResponse().setHeader("Cache-Control", "no-store"); getResponse().setHeader("Pragrma", "no-cache"); getResponse().setDateHeader("Expires", 0);