Pull-through cache
Download each requested package or metadata file once, stream it to the first client, and reuse it for later clients.
A pull-through proxy for Debian and Ubuntu repositories, designed for networks, build systems, and CI runners.
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.
APT clients ββHTTP/CONNECTβββΆ GoAPTCacher ββHTTP/HTTPSβββΆ Repository mirrors
β
βββ package and metadata cache
βββ access metadata and statistics
βββ web interface and diagnosticsThe cache is demand-driven: GoAPTCacher downloads only files requested by a client. It does not mirror an entire repository and does not prefetch packages.
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.