Re: Web documents storage

From: Dancer <[email protected]>
Date: Thu, 24 Jun 1999 00:56:06 +1000

Panjai Tantatsanawong wrote:

> Dear Sir
>
> On Wed, 23 Jun 1999, Dancer wrote:
>
> > Ah, it's a little harder to do under squid 2.x than it was under 1.1, but it
> > can be done.
> >
> > Which version do you have?
> I have Squid-1.1.120 running on FreeBSD.
> Thank you.
> Regards,
>

Okay. It's pretty simple then. In the top directory of your cache directory tree,
you'll find a file that's probably called 'swap.log'. It contains one entry per
line each containing assorted fields, including a URL.

Cat the file through 'cut' to get just the URL out, then pipe it through 'sort'
and 'uniq'. The resulting output is what is the list of URL's currently in the
cache.
Received on Wed Jun 23 1999 - 09:07:17 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:57 MST