Although the Google page cache appears to be working correctly, there appears to be a problem with the vached preview image. For example, when I go to Google and type:
site:
www.mysite.com
I get all of the indexed pages for my site. When I click on the link for the cached version I get the pages for my standard web sites. However, when I click on the image preview the cached image is of the mobile version of my site. Obviously, since this is a bare bones version of the site that's not what I want to show.
My guess is that the component needs to have detection set up for detecting the image preview bot. Here's the user agent:
Mozilla/5.0 (en-us) ApplewebKit/525.13 (KHTML, like Gecko; google web preview) Version/3.1 Safari/525.13
I haven't look through the code yet to see where to put the detection. Before I go digging can anyone tell me where you include the various user agents?