On Mon, 9 Feb 2004, OTR Comm wrote:

> Now, how does squid which cache file goes with which cache file.


Squid keeps an index of MD5(URL) -> swap file number.

On log rotation this index is written to swap.state. Between log rotation
a "transaction log" is appended to the existing swap.state.

But this is not interesting for your search tool. It is better for you to
navigate the raw cache files and extract the information (URL, MIME type,
content) from there.

Regards
Henrik