html中设置方法 <head> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="0"> </head> jsp中设置方法 1. response.setHeader("Pragma","no-cache"); 2. response.setHeader("Cache-Control","no-cache"); 3. response.setDateHeader("Expires",0);
设置页面不缓存 no-cache,布布扣,bubuko.com
时间: 2024-10-05 09:48:34