On Mon, Aug 13, 2001, SUZANA BT ZAHRI wrote:
> hi all...
> i dont really understand the cache directory... i mean, there are bunch of
> files there ( for example 00,0000,00001)...wheni tried to open this
> file in vi editor, i saw rubbish (to me, at least)..what exactly does this
> files mean?? and one more thing, when i look at store.log, i saw images
> being stored in the cache..how exactly can i view these stored images?How
> long do they last?..
The cache files have a "metadata" header, containing the expiry time,
MD5 header .. well, chunks of what you'd find in the StoreEntry struct.
After this metadata header (which is encoded as a TLV - Type, Length, Value -
so unknown entries don't screw up the rest of the header or file)
you'll find a copy of the object as it came in off the wire.
To see how its handled, look at src/store_swapmeta.c .
Adrian
Received on Mon Aug 13 2001 - 03:50:22 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:36 MST