Re: FTP cacheing doesn't seem to work on squid-2.2.STABLE4-8

From: Stephen Moore <stephenm@dont-contact.us>
Date: Mon, 15 Nov 1999 09:51:41 +1000

I use the following in my config

cache_peer proxy.widebay.net parent 3128 3130
cache_peer proxy.ozemail.com.au parent 8080 3130

 acl local-servers dstdomain bundabergcity.qld.gov.au
 acl all src 0.0.0.0/0.0.0.0
 never_direct deny local-servers
 never_direct allow all

Is it possible to specify that the netcache server (proxy.ozemail.com.au ) not be used
for ftp?

Henrik Nordstrom wrote:

> Stephen Moore wrote:
>
> > 942386510.133 RELEASE FFFFFFFF 200 -1 -1 -1 application/x-tar
> > 5289885/5289885 GET
> > ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-i686-pc-linux-gnu.tar.gz
> >
> > access.log
> > 942386510.131 1249540 172.16.0.50 TCP_MISS/200 5290115 GET
> > ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-i686-pc-linux-gnu.tar.gz -
> > PARENT_HIT/proxy.ozemail.com.au application/x-tar [User-Agent: Wget/1.5.3%0d%0aHost:
> > ftp.mozilla.org:21%0d%0aAccept: */*%0d%0a] [
> > HTTP/1.0 200 Gatewaying
> > MIME-Version: 1.0
> > Server: NetCache 3.4D6
> > Content-Type: application/x-tar
> > Content-Length: 5289885
> > Content-Encoding: x-gzip
> >
> > ]
>
> The NetCache parent does not provide any date/modification/expiry time
> on the reply. It should have send at least a Date header, but preferably
> a Last-Modified header as well as the FTP server is capable of
> indicating the modification time.
>
> If you uncomment the recommended refresh_pattern settings for FTP then
> the objects should be cached for one day I think. (a little bit unsure
> what would happen if there is no date information at all as in the above
> NetCache generated reply..)
>
> --
> Henrik Nordstrom
> Squid hacker
Received on Sun Nov 14 1999 - 16:59:45 MST

This archive was generated by hypermail pre-2.1.9 : Wed Apr 09 2008 - 11:57:32 MDT