首页/js外包代码/html网页如何禁止页面使用缓存?

html网页如何禁止页面使用缓存?

发布-xiaoming | 浏览量-

 html网页如何禁止页面使用缓存?

 
html禁止页面缓存的三种方式: 
 
<meta http-equiv="pragma" content="no-cache"> 
<meta http-equiv="cache-control" content="no-cache"> 
<meta http-equiv="expires" content=0>
 
 
jsp:页面no cache:  
 
response.setHeader("Pragma","No-cache"); 
response.setHeader("Cache-Control","no-cache"); 
response.setDateHeader("Expires", 0);

原文地址:http://www.35ui.cn/post/20150330704.html

标签缓存

上一条: js压缩工具|Javascript在线解压缩
下一条: json是什么格式|json是什么文件

或许你还对下面的文章感兴趣