Re: Pre-fetching some URLs

From: Stephane Bortzmeyer <bortzmeyer@dont-contact.us>
Date: Mon, 21 Oct 96 15:23:58 +0200

On Monday 21 October 96, at 11 h 34, the keyboard of "Jean-Yves VERN"
<jyvern@ystel.fr> wrote:

> Could someone telle me how perform the same output as
> the one done by cachemgr.cgi about stats/object to get the
> extensive list of objects in the cache.

url_get cache_object://localhost/stats/objects | awk '{print $2}' >
the-file

(assuming http_proxy is properly defined)

> If I could get these informations in a file, I could extract some
> URLs from it, and perform prefetching on these URLs.

This needs a unofficial version of url_get:

ftp://ftp.pasteur.fr/pub/computing/unix/network/url_get

Warning: this can be a high load for the Squid process.

Stephane Bortzmeyer Institut Pasteur
bortzmeyer@pasteur.fr Service d'Informatique Scientifique
                              Paris, France
+33 01 40 61 34 62

http://web.cnam.fr/personnes/bortzmeyer/home_page.dom
Received on Mon Oct 21 1996 - 06:24:35 MDT

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