Google's documentation provides two options for telling Google not to offer cached copies of pages:
Add a meta tag to your HTML pages (as the other answers say). Drawbacks:
Injecting that meta tag into all of your HTML may not be easy.
This only affects HTML documents, not other types of documents (images, PDF, etc.) - but I don't know whether Google offers cached copies of non-HTML documents in the first place.
Set the following HTTP Response header on all of your documents:
发布评论
评论(3)
将此元标记放在您不希望显示“缓存”链接的页面上:
来自 Google 的 元标签文档:
Put this Meta tag on pages you don't want the 'Cached' link to show for:
From Google's Meta Tags documentation:
阅读本文了解详细信息:
http://www.google.com/support/webmasters/ bin/answer.py?answer=156412
Read this for details:
http://www.google.com/support/webmasters/bin/answer.py?answer=156412
Google 文档提供了两个选项来告诉 Google 不要这样做提供页面的缓存副本:
向您的 HTML 页面添加元标记(如其他答案所述)。缺点:
在所有文档上设置以下 HTTP 响应标头:
顺便说一下,Bing支持第一种方式; 显然,它不支持第二个。
Google's documentation provides two options for telling Google not to offer cached copies of pages:
Add a meta tag to your HTML pages (as the other answers say). Drawbacks:
Set the following HTTP Response header on all of your documents:
By the way, Bing supports the first method; apparently, it doesn't support the second one.