Skip to content

GoAPTCacherFaster APT downloads from a shared local cache

A pull-through proxy for Debian and Ubuntu repositories, designed for networks, build systems, and CI runners.

What is GoAPTCacher? ​

GoAPTCacher is an explicit HTTP proxy for APT. Clients continue to request their normal Debian, Ubuntu, or third-party repository URLs, while the proxy enforces a domain policy and stores approved responses below a shared cache directory.

text
APT clients ──HTTP/CONNECT──▢ GoAPTCacher ──HTTP/HTTPS──▢ Repository mirrors
                                  β”‚
                                  β”œβ”€β”€ package and metadata cache
                                  β”œβ”€β”€ access metadata and statistics
                                  └── web interface and diagnostics

The cache is demand-driven: GoAPTCacher downloads only files requested by a client. It does not mirror an entire repository and does not prefetch packages.

Where to begin ​

Follow Getting started to install the package, configure a safe domain allowlist, connect a client, and confirm the first cache hit. Container users can start with Container deployment.

Before production use, choose the appropriate HTTPS mode, review the security best practices, and establish procedures for cache management, repository verification, and troubleshooting.

Released under the MIT License.