get请求:
1,修改url加上new Date().getTime();等同于加上?v=1;
2,在服务器加响应头
response.setContentType("text/html;charset:UTF-8");
response.addHeader("prama","no-cache");
response.addHeader("cache-control","no-cache");
response.addHeader("expires","o");
时间: 2024-10-22 03:48:24