Pattern: LAN Cache Mirror Only
May 19, 2026 ยท View on GitHub
Goal: You do not host recipes or indexes; you mirror payloads from an existing upstream remote to save bandwidth.
You Do Not Need
- Your own
packages_url - Your own signed index (unless you also run a private remote)
You Do Need
- Permission to fetch upstream payloads (public remote or internal mirror policy)
- Static HTTP cache layout
elda-populateor rsync from a machine that already synced upstream
Setup
# Upstream already configured
elda rmt add upstream=... --trust pinned ...
elda cache add lan=https://cache.lan/elda --priority 5
elda-populate cache mirror-remote --remote upstream --channel stable --cache lan
# rsync /var/cache/elda/... to nginx root if populate wrote locally
Org-Wide Rollout
- Admin registers
upstreamremote on golden image. - Admin registers
lancache pointing at internal mirror. - Workstations
sync; installs hit LAN digest first.