html禁止緩存的方法,asp禁止緩存的方法,php禁止緩存的方法,jsp禁止緩存的方法
html:
php:
header(expires: mon, 26 jul 1997 05:00:00 gmt);
header(cache-control: no-cache, must-revalidate);
header(pragma: no-cache);
asp:
response.expires = -1
response.expiresabsolute = now() – 1
response.cachecontrol = no-cache
jsp:
response.addheader(cache-control, no-cache);
response.addheader(expires, thu, 01 jan 1970 00:00:01 gmt);