Forum Moderators: Robert Charlton & goodroi
They use the HTML source for the cache, so they're not actually requesting/displaying the page, the images or anything else, they're giving the browser the source-code they have for the page and letting the browser "do what browsers do" with source-code, which is display + request/display dependent files.If I can understand you correctly, are you saying that the browser requests the dependency files as I click on 'cached' beneath a page in the search results? If that's the case, how come the cached version, not obviously, have the older version of the page if the browser is actually making a live request to the server?
...Google says "The current page could have changed in the meantime" which means the everything on the cached version is not live. What do I miss here?
It's been a while since I've noticed a cache with changed images
{ my IP } - - [05/Aug/2015:23:36:18 -0700] "GET /hovercraft/images/glassplate.png HTTP/1.1" 200 2601 "http://webcache.googleusercontent.com/search?q=cache:ghh0k0m6Cu8J:example.com/hovercraft/+&cd=8&hl=en&ct=clnk&gl=us" "{ my browser }"
{ my IP } - - [05/Aug/2015:23:36:18 -0700] "GET /hovercraft/images/eel.png HTTP/1.1" 200 1445 "http://webcache.googleusercontent.com/search?q=cache:ghh0k0m6Cu8J:example.com/hovercraft/+&cd=8&hl=en&ct=clnk&gl=us" "{ my browser }"
{ my IP } - - [05/Aug/2015:23:36:18 -0700] "GET /hovercraft/images/ducttape.png HTTP/1.1" 200 1912 "http://webcache.googleusercontent.com/search?q=cache:ghh0k0m6Cu8J:example.com/hovercraft/+&cd=8&hl=en&ct=clnk&gl=us" "{ my browser }"
{ my IP } - - [05/Aug/2015:23:36:18 -0700] "GET /hovercraft/images/thumbs/smallkabloona.jpg HTTP/1.1" 200 5095 "http://webcache.googleusercontent.com/search?q=cache:ghh0k0m6Cu8J:example.com/hovercraft/+&cd=8&hl=en&ct=clnk&gl=us" "{ my browser }"
{ my IP } - - [05/Aug/2015:23:36:18 -0700] "GET /hovercraft/images/thumbs/smallbandplayed.jpg HTTP/1.1" 200 3781 "http://webcache.googleusercontent.com/search?q=cache:ghh0k0m6Cu8J:example.com/hovercraft/+&cd=8&hl=en&ct=clnk&gl=us" "{ my browser }"
et cetera. No CSS requests, but that's because it was already in my browser's cache. (I tried another, more obscure page, from a different directory, to cross-check. How obscure? Sooo obscure, the datestamp on that cache was mid-May. Ouch.) If it's not making a live request to the sever for the dependent files, where does it gets the files from? From its local disc? What if I've disabled caching of files for the browsers?
{ IP in India } - - [06/Aug/2015:00:32:11 -0700] "GET /sharedstyles.css HTTP/1.1" 200 2201 "http://webcache.googleusercontent.com/search?q=cache:ghh0k0m6Cu8J:example.com/hovercraft/+&cd=8&hl=en&ct=clnk&gl=us" "{ someone else's browser}"
et cetera. The distinction between the browser making the request and Google making the request is the main difference between why the cached version will show images, css, js even Google is blocked in robots.txt
How is that possible if the browser is requesting the dependent files on my server from a cached (HTML) page where the resources are no longer exist on my server?