html 页面立即过期,html – META“过期”标签

The Meta Expires tag defines the

expiration date and time of the web

document that is being indexed. It has

been said that the Meta Expires tag is

helpful for those periods when your

business is running a limited time

event/offer or if there is a preset

date when your web document will no

longer be valid for indexing. Once you

have reached the listed date, the

search engines are then supposed to

delete your web page from their

database.

因此,它与缓存页面内容没有任何关系,它只是告诉搜索引擎的一种方式“嘿!停止索引此页面”

你需要的是在.htaccess中添加Future Expires Headers,如下所示:

Header set Expires "Thu, 15 Apr 2010 20:00:00 GMT"

在雅虎!他们没有提到使用meta expires标签的指南,他们提到使用expires标头,它们是两个完全不同的东西.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值