Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

If you want google's cache of your site to remain unchanged is it a good idea to add noarchive to robots.txt? Or will this wipe out your caches?

share|improve this question

migrated from serverfault.com Dec 18 '11 at 19:27

This question came from our site for system and network administrators.

1 Answer 1

up vote 2 down vote accepted

Firstly, there is no such thing as noarchive in robots.txt. You need to add a meta tag to all pages on which you wish to prevent caching:

<meta name="Googlebot" content="noarchive">

When you have done that, then Google will stop caching the page entirely and won't show a cache link at all. There is no way to keep showing the old cache while preventing new caches.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.