|
|
Google Cache Hacking
http://google.com/search?q=cache:1Hotxp9-WHYC:rentzsch.com/ Note the URL pattern. The query begins with a Now, let's suppose rentzsch.com was temporally down while I upgrade my server hardware to 39 Xserves + a Xserve RAID in my new 42U rack (hey -- I can dream), and you really want to get information PSIG, the programming group I host. You modify the cache URL: http://google.com/search?q=cache:1Hotxp9-WHYC:rentzsch.com/psig/ This is interesting. The original page's address ( http://google.com/search?q=cache:1Hotxp9-WHYC:apple.com/ Obviously it's the hash ( http://google.com/search?q=cache:2Hotxp9-WHYC:apple.com/ Bingo, a cache of Apple's frontpage is returned. Likewise, we can lookup the PSIG cache as well: http://google.com/search?q=cache:2Hotxp9-WHYC:rentzsch.com/psig/ Using this technique, it should be possible to write a frontend to Google that allows you to fully surf the web, exclusively through their cache. All that would be required is to rewrite the URLs in the returned page to point back into Google's cache. I'm actually tempted to write such a frontend, but the low volume of traffic to Googlefone tells me my time is better spent elsewhere. Update: Avi points out it's far easier to access Google's cache than I mention here. Update #2: Inspired by Jon Udell's LibraryLookup, I wrote my first bookmarklet: Google Cache Lookup. Now, when you stumble upon a page that's been deleted, suddenly changed for the worse, or temporally inaccessible, you can invoke this bookmarklet which will spawn a new window with Google's cache of the current page (hopefully). Update #3: Fuse thinks it would be nice if browsers, when faced with an error, would automatically attempt to display an archived copy of the requested page. I agree. Also, he wrote a better version of my Google Cache Lookup bookmarklet: Google Cache Lookerupper. Nice work. Update #4: Ryan Shaw wrote that the bookmarklet didn't work him in Mozilla 1.3 or Galeon 1.3.4, so he wrote another version. Meanwhile Matt Schneider related how web archives allow persistent fine-grained URLs. (Check out Purple Slurple). Wednesday, April 16, 2003
|
Contact Me Topics RSS Feed Linkblog
Bill Bumgarner Brent Simmons Daniel Jalkut Dave Dribin Eric Albert Eric Rescorla Eric Sink Greg Miller Gus Mueller Jeremy Zawodny John Gruber Mark Dalrymple Michael Tsai Peter Ammon Raymond Chen Ryan Wilcox Scott Stevenson Steven Frank The Daily WTF we hates software Wil Shipley |
Copyright © 1997-2008 Jonathan 'Wolf' Rentzsch. All rights reserved.
Questions? Comments? Contact Me.