<div dir="ltr">Hey Anthony,<div><br></div><div>I have used apt-cacher-ng, but it can't save git repos or npm repos. Also i have used apt-cacher-ng, it used to work great until 12.02 but when we had started to have mixed setup [ ubuntu 13,14.04 and others ] we got issues within our setup and one point issues became so daily we decided to scrap apt-cacher-ng.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 6, 2016 at 12:43 AM, Antony Stone <span dir="ltr"><<a href="mailto:Antony.Stone@squid.open.source.it" target="_blank">Antony.Stone@squid.open.source.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wednesday 05 October 2016 at 20:40:46, Hardik Dangar wrote:<br>
<br>
> Hey Jok,<br>
><br>
> Thanks for the suggetion but the big issue with that is i have to download<br>
> whole repository about ( 80-120 GB ) first and then each week i need to<br>
> download 20 to 25 GB.<br>
<br>
</span>This is not true for apt-cacher-ng.  You install it and it does nothing.  You<br>
point your Debian (or Ubuntu, maybe other Debian-derived distros as well, I<br>
haven't tested) machines at it as their APT proxy, and it then caches content<br>
as it gets requested and downloaded.  Each machine which requests a new<br>
package causes that package to get cached.  Each machine which requests a<br>
cached package gets the local copy (unless it's been updated, in which case<br>
the cache gets updated).<br>
<span class=""><br>
> We hardly use any of that except few popular repos.<br>
> big issue i always have with most of them is third party repo's.<br>
> squid-deb-proxy is quite reliable but again its squid with custom config<br>
> nothing else and it fails to cache google debs.<br>
><br>
> Squid is perfect for me because it can cache things which is requested<br>
> first time. So next time anybody requests it it's ready.<br>
<br>
</span>This is exactly how apt-cacher-ng works.  I use it myself and I would<br>
recommend you investigate it further for this purpose.<br>
<span class=""><br>
> The problem lies when big companies like google and github does not wants us<br>
> to cache their content and puts various tricks so we can't do that.<br>
<br>
</span>That's a strange concept for a Debian repository (even third-party).<br>
<br>
Are you sure you're talking about repositories and not just isolated .deb<br>
files?<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Antony.<br>
<br>
--<br>
A user interface is like a joke.<br>
If you have to explain it, it didn't work.<br>
<br>
                                                   Please reply to the list;<br>
                                                         please *don't* CC me.<br>
</font></span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.<wbr>org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/<wbr>listinfo/squid-users</a><br>
</div></div></blockquote></div><br></div>