<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8211560\x26blogName\x3dTech+Tips,+Tricks+%26+Trivia\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://mvark.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://mvark.blogspot.com/\x26vt\x3d-5147029996388199615', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Tech Tips, Tricks & Trivia

by 'Anil' Radhakrishna
An architect's notes, experiments, discoveries and annotated bookmarks.

Search from over a hundred HOW TO articles, Tips and Tricks

HOW TO get files cached by Safari & Firefox

Unlike in IE 8 where you can view temporary files easily (Tools > Internet Options | General | Browsing History | Settings | View files), fetching temporary files that are cached is not straight-forward in Safari on Windows & Firefox.

I learnt from this WebmasterWorld forum posting that on Windows XP, the file-path for the Safari cache is something like this:
C:\Document and Settings\[username]\Local Settings\Application Data\Apple Computer\Safari

The cache file is named Cache.db - it's a .db file in the SQLite format.

In Windows Vista, the path of the Cache.db is C:\Users\\AppData\Local\Apple Computer\Safari (assuming you have installed the OS on the C Drive)

As explained in that thread, files like images are stored in Blob format within Cache.db file. These can be viewed with a tool like SQLite Maestro which includes a BLOB Viewer.

To retrieve files from the cache in Firefox type about:cache in the Firefox address bar.

In the page that opens up, click on the “List Cache Entries” link of Disk cache device section. This is where large files like Flash files are cached.

On a related note, I got to know from a recent experience that Google may not store images of the pages that it caches nor does the Wayback Machine archive every website.

Labels: ,

Tweet this | Google+ it | Share on FB

« Home | Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »

Posted by Anonymous Anonymous | 7/27/2010 12:09:00 AM

Hi, I would you open the cache.db file in SQLMaestro..? I can't get it to open the file...    


Post a Comment