http-redirector icon indicating copy to clipboard operation
http-redirector copied to clipboard

Caching doesn't seem to work with http-redirector

Open konomikitten opened this issue 10 years ago • 3 comments

I've noticed when running with http-redirector in sources.list that it will basically cause every entry to be downloaded completely again because of the random mirror choice (I might be wrong someone feel free to correct me if so). If I am right I think this should be mentioned as a disadvantage on the main page of the project (http://httpredir.debian.org/).

konomikitten avatar Aug 05 '15 16:08 konomikitten

Hi,

I've double checked with the APT maintainers and they confirmed that it does the right thing and that the files are correctly cached. It would appear to be more of a problem with one of the mirrors that you were redirected to.

I'm going to leave the issue open as I might implement some check to detect those mirrors in order to avoid them whenever apt wants to use that feature.

rgeissert avatar Aug 17 '15 15:08 rgeissert

That's good news at least it's something that might be able to be fixed down the line.

konomikitten avatar Aug 19 '15 13:08 konomikitten

Responses from the redirector itself are not cached either. I suggested to make them short-term cachable in issue #66. Should mitigate this issue somewhat.

da2x avatar Sep 03 '15 12:09 da2x