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

Tokendra Kumar Sahu picture Tokendra Kumar Sahu · Dec 30, 2010 · Viewed 671.2k times · Source

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?

Answer

Sean Patrick Floyd picture Sean Patrick Floyd · Dec 30, 2010

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.