How can I get the Google cache age of any URL or web page?

HtmlUrlHyperlinkWeb Scraping

Html Problem Overview


In my project I need the Google cache age to be added as important information. I tried to search sources for the Google cache age, that is, the number of days since Google last re-indexed the page listed.

Where can I get the Google cache age?

Html Solutions


Solution 1 - Html

Use the URL

https://webcache.googleusercontent.com/search?q=cache:<your url without "http://">

Example:

> https://webcache.googleusercontent.com/search?q=cache:stackoverflow.com

It contains a header like this:

> This is Google's cache of https://stackoverflow.com/. It is a snapshot of the page as it appeared on 21 Aug 2012 11:33:38 GMT. The current page could have changed in the meantime. Learn more
Tip: To quickly find your search term on this page, press Ctrl+F or āŒ˜+F (Mac) and use the find bar.

Solution 2 - Html

You'll need to scrape the resulting page, but you can view the most recent cache page using this URL:

http://webcache.googleusercontent.com/search?q=cache:www.something.com/path

Google information is put in the first div in the body tag.

Solution 3 - Html

you can Use CachedPages website

Cached pages are usually saved and stored by large companies with powerful web servers. Since such servers are usually very fast, a cached page can often be accessed faster than the live page itself:

  • Google usually keeps a recent copy of the page (1 to 15 days old).
  • Coral also keeps a recent copy, although it's usually not as recent as Google.
  • Through Archive.org, you can access several copies of a web page saved throughout the years.

Solution 4 - Html

its too simple, you can just type "cache:" before the URL of the page. for example if you want to check the last webcache of this page simply type on URL bar cache:http://stackoverflow.com/questions/4560400/how-can-i-get-the-google-cache-age-of-any-url-or-web-page

this will show you the last webcache of the page.see here:

enter image description here

But remember, the caching of a webpage will only show if the page is already indexed on search engine(Google). for this you need to check the meta robot tag of that page.

Solution 5 - Html

You can use this site: https://cachedviews.com/ . Cache View or Cached Pages of Any Website - Google Cached Pages of Any Website

Solution 6 - Html

This one good also to view cachepage http://www.cachepage.net

  1. Cache page view via google: webcache.googleusercontent.com/search?q=cache: Your url

  2. Cache page view via archive.org: web.archive.org/web/*/Your url

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionTokendra Kumar SahuView Question on Stackoverflow
Solution 1 - HtmlSean Patrick FloydView Answer on Stackoverflow
Solution 2 - HtmlIan WetherbeeView Answer on Stackoverflow
Solution 3 - HtmlAminMView Answer on Stackoverflow
Solution 4 - HtmlJason ClarkView Answer on Stackoverflow
Solution 5 - HtmlBao NamView Answer on Stackoverflow
Solution 6 - Htmluser5746128View Answer on Stackoverflow