Author Topic: browser cache  (Read 470 times)

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
browser cache
« on: 5 September 2002, 16:50 »
is there anyway to see the pages in my browser cache (mozilla and konqueror)? I want to see if i can recover some pages from the Bob Hub (most of it was destroyed)
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
browser cache
« Reply #1 on: 5 September 2002, 17:18 »
Sure, for Konqueror you'll find your cache files in ~/.kde/share/cache/http/*, for mozilla you'll find the cache files under ~/.mozilla/$USER/*/Cache/*.  But you might also want to look in your Squid cache on your proxy or is this the same server that you are now having trouble with? What happened this time?  
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
browser cache
« Reply #2 on: 6 September 2002, 00:24 »
i was gonna install debian, but something went wrong and debian wouldnt install (it said it couldnt right the MBR). And then i noticed the i accidentally did something to my redhat partition when installing and it was formatted. Then i had to re-install redhat therefore the Bob Hub, The MES Chatroom, The Abyss, would have been destroyed if it were not for my thinking a while ago to tar and gzip them into packages and put them on floppies. Well, the only thing i didnt package was the MessageBoard. Well, the messageboard wont be cached, but i think i might still be missing a couple pages.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
browser cache
« Reply #3 on: 6 September 2002, 00:29 »
the mozilla cached pages are named a string of numbers and just have jumbled text in them.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
browser cache
« Reply #4 on: 6 September 2002, 07:22 »
quote:
Originally posted by Master of Reality / Bob:
the mozilla cached pages are named a string of numbers and just have jumbled text in them.


Some of the things in your cache will be images but some should be HTML.  You can find out which one's are HTML by going into the cache directory and typing:

$ file * | grep HTML | more

This will give you a list of the HTML files. Or to see what type all the files are:

$ file * | more

Now since Mozilla mangles the names I don't know of an easy way to get the original document names other than going through the file and trying to determine/remember what the original name was.  But it may give you some of what you are looking for. I would assume the associate for the names are contained in the "_CACHE*" files but those appear to be some sort of database files. You can parse the text contained within those cache databases by typing:

$ strings _CACHE* | more

but I don't see the unique filenames within the text contained in those database files so I would assume that is stored as binary somehow.  At any rate, it might help you salvage something.
Someone please remove this account. Thanks...