NScache is simple program for viewing and manging contents of the
Netscape(tm) browser cache directory. This program is distributed under
terms of GPL. 

Personaly I have only tested NScache with 4.0, 4.5, 4.7 Linux x86 versions
of Netscape Communicator (version 4 and 5 of cache index database format),
and also on DEC OSF 4.0F Alpha with Netscape Communicator 4.0.
I am not sure if it will work well other versions. Also I don't know if I
implemented the reading of cache index database correctly, because I don't
find any documentation for it.

I've got reports that NScache works properly on Linux PPC (after fixes for
big endian platforms by Harald Frster) and reads properly cache indexes
from Linux PPC and MacOS Netscape Communicator.
I've also received a report, that NScache can read fat.db indexes from the
Win32 version of Netscape Communicator.

It have designed an easy to use user interface using the GTK+1.2 widget
libraries.  It has two main views - a multi-level tree view ordered by
protocol, then server, then document; the other view is a sorted list of all
the cached files.

For each document you can see its URL, name of cache file, its size,
MIME type, encoding type, character set for HTML documents, modification
time, access time and the time when document expires.

It is possible to remove columns which you don't want to see (this setting
will stay persistent, so you don't need to do it each time you start
nscache).

When you press right mouse button inside tree list, you can make any action
on selected item. You can save file from cache to other location, you can 
remove files and entries from cache (one or all entries for server), or you
can compute numbers of documents in subtrees and size of all documets in 
subtree. You can launch any viewer command on cache file or on source URL.
The viewers you can assign to any MIME type. You can also copy selected URL
to clipboard.

You can assign any keyboard shortcut to each menu entry in nscahe GUI
(open menu, focus on the selected menu item and hit the shortcut keys you
want). These changes will be permanent.

Version 0.4 and later can be used to list the contents of the cache to
stdout. In this way nscache can be incorporated into custom scripts
To use this feature, use option -l (--list).  The default format is the
short listing (-s, --short) which displays only the cache filename and
original URL of cache entry on one line separated by a tab character. 
The second format is multiline output, which displays all the information
available. To use this second listing mode, you must use option -m
(--multi-line).

Available commandline options :
  -f,  --db_file=FILENAME  set cache file to FILENAME
  -l,  --list              list cache directory contents to stdout
  -m,  --multi-line        print multi line info about each cache entry
                           listing when listing cache content
  -s,  --short             print short listing when listing cache content
  -v,  --version           display version information and exit
  -h,  --help              display this help and exit


As this program is very simple and small, I hope that it does not contain
too many. But if you find any, please feel free to send me bug reports.
Also if you have any suggestions I will be glad to hear them.

New versions of this program you can find at its homepage :
http://www.idata.sk/~ondrej/nscache/ or at
http://nscache.sourceforge.net/

Stefan Ondrejicka <ondrej@idata.sk>

