* On 2017-02-22 at 19:47 GMT, Paul Sture wrote: > On 22 Feb 2017, at 20:08, Rob Seastrom wrote: > > > Moreover, if you are goofing around with where you get your packages > > from by modifying /opt/local/etc/pkgin/repositories.conf as I do (I have > > an nginx cache running so as to be nice to Joyent and get somewhat > > faster transfers internally on the Nth time that I'm installing a > > particular package), you need to do the cache freshening *after* you > > change the source location. > > I could really really use a caching solution for pkgin, and I am sure many > others could too. > > gcc49-4.9.4.tgz for example is 324MB which on my home broadband takes 12-15 > minutes. It's senseless to repeat that unnecessarily. > > Are you in a position to share your nginx caching config setup?
One option that I deploy in the pkgbuild image by default is Dave Eddy's fs-caching-server: https://github.com/bahamas10/node-fs-caching-server In the pkgbuild image it's used to cache downloads into the local build chroots, but it can be used as a general purpose cache for remote clients too. -- Jonathan Perkin - Joyent, Inc. - www.joyent.com ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
