3

For AMP (Accelerated mobile pages) pages, I know about the API to find out if a URL is cached or not. However, I'm having trouble finding one that is cached. I need to find a cached AMP URL to write/test other code against that API.

My AMP URLs don't seem to appear near the top of the search results so I'm having difficulty finding a single one which has already been cached. The only way I know is to check one by one, but maybe there something I can add to search query to find my cached pages?

Edit: I expect none or very few pages are cached already, that's why the question.

  • I don't understand. If you have an API to find the cached page, why can't you find the cached page? – DisgruntledGoat Oct 11 '18 at 17:21
  • I don't write code yet, and expect most/all results will be false, as pages not cached yet by Google. Need something to test code. This is the way I coding - write-test-and-again-loop. – LeonidMew Oct 11 '18 at 17:26
  • What do you mean? You test your code by running it to see if it works. – DisgruntledGoat Oct 11 '18 at 17:42
  • 1
    In google, you can type site:example.com to find all of the pages on your domain that have been indexed by Google, which may be helpful. – Maximillian Laumeister Oct 11 '18 at 17:50
  • 1
    There are no tools or services to do exactly what I want in question. @MaximillianLaumeister your comment are simple and most useful, add it as answer if you wish. – LeonidMew Oct 22 '18 at 17:28
2

Google generally caches the pages that it indexes, unless the site owner specifically requests Google not to (e.g. by using the NOARCHIVE meta tag).

One way of checking if your web pages are indexed by Google is to type site:example.com into Google Search. This will show you all the pages on your site that Google has indexed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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