`
liudaoru
  • 浏览: 1561919 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

一些有用的html meta信息

    博客分类:
  • Ajax
阅读更多

禁止缓存:

 

 

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">

 

 

过期时间(Expires 属性指定了在浏览器上缓冲存储的页距过期还有多少时间。

如果用户在某个页过期之前又回到此页,就会显示缓冲区中):

 

 

	<meta http-equiv="expires" content="0">    

 

 

关键字和描述(SEO相关):

 

 

	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="liudaoru">

 

 

1
0
分享到:
评论
1 楼 liudaoru 2009-01-19  
response.setHeader("Pragma", "no-cache"); 
response.setHeader("Cache-Control", "no-cache"); 
response.setHeader("Cache-Control", "no-store"); 

相关推荐

Global site tag (gtag.js) - Google Analytics