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

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 12 Nov 1999 08:48:59 +0100

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 Fri Nov 12 1999 - 01:03:30 MST

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