防止浏览器缓冲
response.setContentType("image/jpeg"); //设置类型 // 防止浏览器缓冲 response.setHeader("Pragma", "No-cache"); response.setHeader("Cache-Control", "no-cache"); response.setDateHeader("Expires", 0);