How can I get the Google cache age of any URL or web page?
HtmlUrlHyperlinkWeb ScrapingHtml 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:
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
-
Cache page view via google: webcache.googleusercontent.com/search?q=cache: Your url
-
Cache page view via archive.org: web.archive.org/web/*/Your url