how to tell if a page is forwarded from a cached page.

hello -


is there any way to tell by looking at the apache environmental variables if a page forward came from an old(er) cached page?

in other words, say i had a webpage that contained the following link:


and then i changed it to:


looking at /input.php, is there an apache variable somewhere that might tell me that the use of “oldLink” is coming from a cached website?

i should think that anybody who is coming to my server with 'oldLink" is using a cached page.

thank you very much.

hmmm no replies so far.

i have a feeling the solution may lie in looking here:

\Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer[DOT]org/dotbot, help@moz[DOT]com)

so far this seems to be working:

    if  ( preg_match('/(bing|dot)bot/', $_SERVER['HTTP_USER_AGENT'] )  )    {
            exit;   // bot - kill 2015-11-09

any suggestions are appreciated.