之前设置了浏览器缓存
response.setHeader("Cache-Control", "no-store");
response.setHeader("Pragrma", "no-cache");
response.setDateHeader("Expires", 0);
一直报错 说请求的站点找不到,将
response.setHeader("Cache-Control", "no-store");
改成
response.setHeader("Cache-Control", "max-age=30" );
就可以了,可能是要缓存权限吧....