On Mon, 2020-04-06 at 07:20 +0200, Fabrice BAUZAC-STEHLY wrote:
> In your situation I think I would look into setting up a caching
> proxy such as Squid.  It should be able to cache many kinds of files
> you may need on several of your machines, not only rpms downloaded by
> dnf but maybe also some common webpages, javascript or images you
> download via a browser from several machines.

Since each download from a Fedora installation could fetch RPMs from
different repo servers, and Squid will cache based on the whole
internet address of each file, you'd need to change the DNF config on
them to always use the same repo server.

I think you can configure DNF to go through a proxy, so you wouldn't
have to specially configure Squid, it'd just cache in its normal way.

I used to do that kind of thing for Windows updates, 20 years ago.  But
I'm not sure if it's worth going to this trouble with Fedora.  Once
installed, the next set of updates can be the small delta RPM files
(just the difference between the prior install and the bits of it that
are actually updated).  A lot of those delta files are very small.

I seem to recall that there was a package for easily setting up a local
repo service to do this kind of thing (one PC will act as your cache
for the rest, only downloading the wanted RPMs rather than mirroring
everything on the external repo).

-- 
 
uname -rsvp
Linux 3.10.0-1062.18.1.el7.x86_64 #1 SMP Tue Mar 17 23:49:17 UTC 2020 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to