当前位置:Gxlcms > html代码 > 禁止浏览器缓存_html/css_WEB-ITnose

禁止浏览器缓存_html/css_WEB-ITnose

时间:2021-07-01 10:21:17 帮助过:54人阅读

HTML:     ASP response.expires=0 response.addHeader("pragma","no-cache") response.addHeader("Cache-Control","no-store, must-revalidate") PHP header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Cache-Control: no-store, must-revalidate"); header("Pragma: no-cache"); JSP: response.addHeader("Cache-Control", "no-store, must-revalidate"); response.addHeader("Expires", "Thu, 01 Jan 1970 00:00:01 GMT");

  文章转载自:http://bbs.it-home.org/thread-16775-1-1.html

人气教程排行