I updated 3 machines by doing apt-get update, apt-get upgrade on each in turn. I have a 10proxy file in the apt.conf.d directory that has an "acquire::http:proxy" statement. Its pointing to Squid 3.5.5. It gave approx 50% hit rate even though they should all be identical machines. The pattern I used was: refresh_pattern (\.deb|\.udeb)$ 1440 80% 10080 Should I also have a "reload-into-ims"? MarkJ ----- Original Message ----- > From: Amos Jeffries <squid3@xxxxxxxxxxxxx> > To: squid-users@xxxxxxxxxxxxxxxxxxxxx > Cc: > Sent: Saturday, 13 June 2015, 19:36 > Subject: Re: Suggested refresh_pattern for debian repos? > > On 13/06/2015 8:05 p.m., TarotApprentice wrote: > >> I've seen a couple of refresh_pattern combinations that people use to > cache Linux repos. Does anyone have a working one for Debian repos? >> > > The debian repository responses simply dont have the right headers for > older HTTP/1.0 Squid to cache objects properly. If you try to force it > you will end up with checksum mismatch and other download errors. > > The HTTP/1.1 versions of Squid (3.2+) the default refresh_patterns > should be sufficient. > > That said, I have seen some of the repository servers are not producing > adequate Last-Modified headers on the .deb themselves. The popular rule > you will find all over the place for ".deb" pattern (and only that > line) > seems to make it work though. > > Amos > _______________________________________________ > squid-users mailing list > squid-users@xxxxxxxxxxxxxxxxxxxxx > http://lists.squid-cache.org/listinfo/squid-users > _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users