Apt-Cacher NG is a caching HTTP download proxy for software packages, primarily for Debian/Ubuntu clients.
Apt-Cacher-NG is partially based on concepts of Apt-Cacher but is rewritten with a main focus on performance and low resource usage.
The package reuses many ideas behind the other famous proxy, its predecessor apt-cacher 1.x (which has been written in Perl). In contrast to apt-cacher, other aspects have been declared as primary targets during the development of apt-cacher-ng:
- lightweight implementation - allow the use on systems with low memory and processing resources
- internal (native) threading - avoiding process fork'ing wherever possible, avoiding kludges for pseudo-thread synchronization, avoiding excessive use of hidden file system features for internal operations
- real (effective) support of HTTP pipelining, therefore a native client with native stream control has been developed. The nice side effect is the reduction of resource overhead and minimization of possible points of failure
- avoiding featurities where they cause too much bloat and the functionality can be provided by native OS features
- reliable but efficient content merging in the local package pool, avoiding delivering of wrong data.
- run "make". Output goes to the "build" directory. apt-cacher-ng is the regular version, apt-cacher-ng-debug is for debugging purposes only.
For compiler flags, see CMakeLists.txt file.
· GNU make
What's New in This Release: [ read full changelog ]
· The downloader code has been improved with better mirror rotation on download failures.
· IPv6 socket creation with recent Linux/glibc versions was fixed.
· Expiration works more exactly now.
· A download logging failure in some situations was fixed.
· More package file types are supported now.
· The documentation has been partially rewritten to become more user-friendly.