或在HTML页面里加:
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache,no-store, must-revalidate"> 
<META HTTP-EQUIV="pragma" CONTENT="no-cache"> 
<META HTTP-EQUIV="expires" CONTENT="0">
 
或在PHP里输出header:
<?php 
header("Cache-control:no-cache,no-store,must-revalidate"); 
header("Pragma:no-cache"); 
header("Expires:0"); 
?> 
 
重点在no-store,它是针对标准浏览器的设置。
no-cache是针对IE浏览器。
 
 
 

相关文章:

  • 2021-12-26
  • 2021-10-20
  • 2021-08-16
  • 2021-09-08
  • 2021-11-22
  • 2022-12-23
  • 2021-11-27
  • 2021-07-21
猜你喜欢
  • 2021-11-21
  • 2021-11-17
  • 2021-09-09
  • 2021-12-09
  • 2021-07-01
  • 2022-12-23
  • 2021-04-23
相关资源
相似解决方案