Re: [squid-users] Prefetching in Squid

From: James Gray <james_gray@dont-contact.us>
Date: Thu, 1 Dec 2005 16:00:08 +1100

On Thursday 01 December 2005 15:06, mohinder garg wrote:
> Hi,
>
> Can anybody tell me, does squid provides prefetching of objects?
> if yes, how?

Not natively, but you could use "wget". From the wget man page:

--delete-after
    This option tells Wget to delete every single file it downloads, after
    having done so. It is useful for pre-fetching popular pages through a
    proxy, e.g.:
       wget -r -nd --delete-after http://whatever.com/~popular/page/

    The -r option is to retrieve recursively, and -nd to not create
    directories.

HTH,

James

Received on Wed Nov 30 2005 - 22:00:18 MST

This archive was generated by hypermail pre-2.1.9 : Thu Dec 01 2005 - 12:00:10 MST