Re: [squid-users] jesred experiences

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 16 Dec 2011 14:55:45 +1300

On 16/12/2011 2:49 p.m., Amos Jeffries wrote:
> On 16/12/2011 12:47 p.m., E.S. Rosenberg wrote:
>> Hi all,
>> While searching for a way to integrate squid with our apt-cacher in a
>> nice way I came across an article suggesting jesred, it looks very
>> interesting and I was wondering:
>> 1. what are other peoples experiences with this redirector/url rewriter.
>> 2. has anyone made a list of useful jesred regexes? (I searched but
>> only found the debian/ubuntu redirects)
>> 3. is it possible to in a similar way integrate a MS SUS server?
>> Thanks,
>> Eli
>
> I note the tutorials on using jesred to link squid and apt-cach are
> probably the most inefficient way to create the linkage (though maybe
> some smart hacker can come up with a worse way).
>
> Do it this way instead for far greater performance:
>
> cache_peer $apt_cacher_ip parent $apt_cacher_port 0 no-query
> originserver name=aptcache
>
> acl ubuntu_repo dstdomain .archive.ubuntu.com security.ubuntu.com
> acl ubuntu_paths urlpath_regex ^/ubuntu/(dists|pool)/
>
> cache_peer access aptcache allow ubuntu_repo ubuntu_paths

sorry typo: cache_peer_access

Amos
Received on Fri Dec 16 2011 - 01:55:53 MST

This archive was generated by hypermail 2.2.0 : Fri Dec 16 2011 - 12:00:03 MST