首页 > 代码库 > 设置页面不缓存 no-cache

设置页面不缓存 no-cache

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);