Re: [squid-users] question to cache/swap.state

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 21 Jan 2003 11:28:55 +0100

alp wrote:
>
> hi, i have already gone through the archives, but did not understand this
> topic completely.
> my questions:
>
> what is stored in the L2-directories?
> (as far as i understood - a binary file containing meta data (md5 checksum,
> ...) and the complete http-response. is this right???)

Right.

> what is swap.state used for? does it only contain something like a pointer
> to the disk files???

It is used as a backup of the in-memory index telling which object is in
which L2 file, to avoid having to search all the L2 directories on each
request..

> what does happen, if swap.state is deleted? are then all disk files deleted
> by squid, too?

swap.state is then rebuilt from the disk files. Takes a long time for a
large cache..

Regards
Henrik
Received on Tue Jan 21 2003 - 03:30:41 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:45 MST