Re: no_chache directive

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Fri, 13 Nov 1998 09:01:40 -0700 (MST)

On Fri, 13 Nov 1998, Jens-S. Voeckler wrote:

> You'd have to go over all /var/spool/cache/??/??/* files, and extract the
> URL from the start. But the URL is contained within a binary struct, thus
> perl looks feasible for the task.

What about obtaining URLs from swap logs? Yes, it is a binary file, but for
the purpose of extracting a URL, the Perl code should be even simpler than
scanning all the files and extracting URLs from a binary file header. And,
more importantly, using swap logs is probably on the order of magnitude
faster.

$0.02,

Alex.
Received on Fri Nov 13 1998 - 09:08:15 MST

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