go-apt-cacher is a caching reverse proxy built specially for Debian (APT) repositories.
This repository also contains a mirroring utility go-apt-mirror.
Blog: Introducing go-apt-cacher and go-apt-mirror
- Checksum awareness
go-apt-cacher recognizes APT indices and checks downloaded files automatically. - Reverse proxy for http and https repositories
- LRU-based cache eviction
- Smart caching strategy specialized for APT
- Atomic update of mirrors
Clients will never see incomplete/inconsistent mirrors. - Checksum validation of mirrored files
- Ultra fast update compared to rsync
- Parallel download
- Partial mirror
Pre-built binaries are available on releases.
Unpack one and follow usage instructions.
Both go-apt-cacher
and go-apt-mirror
can be deployed via the jacksgt/aptutil Docker Image. For more information head over to the source repository.
Use Go 1.7 or better.
Run the command below exactly as shown, including the ellipsis.
They are significant - see go help packages
.
go get -u github.com/cybozu-go/aptutil/...
- Yamamoto, Hirotaka @ymmt2005
- Yutani, Hiroaki @yutannihilation
- @xipmix
- @jacksgt