Package: approx
Version: 5.5-1

Approx often downloads Translation-en.bz2 despite it not having
changed, if the client does not have the file.  This occurs with
debootstrap, pbuilder, cowbuilder, and apt-get if /var/lib/apt has
been cleared.

Assume a URL of
http://http.us.debian.org/debian/dists/wheezy/main/i18n/Translation-en.bz2

When a client requests for the first time, approx correctly downloads
to cache, and passes the file to the client:

# wget --timestamping ...
HTTP request sent, awaiting response... 200 OK
Length: 3847587 (3.7M) [text/plain]
Saving to: 'Translation-en.bz2’

100%[======================================>] 3,847,587    440KB/s   in 8.1s

2015-05-13 14:41:35 (462 KB/s) - 'Translation-en.bz2’ saved [3847587/3847587]

When a client requests with the file present locally, approx reports
it hasn't changed:

# wget --timestamping ...
HTTP request sent, awaiting response... 200 OK
Length: 3847587 (3.7M) [text/plain]
Server file no newer than local file 'Translation-en.bz2’ -- not retrieving.

When a client requests without the file present locally, but with the
file in approx cache, approx fetches it again, without using the cache.

In this scenario, I'd like approx to use cache.

-- 
James Cameron


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to