GOPROXY caching for private modules: avoiding repeated downloads on a low-traffic service
I'm running a low-traffic Go service (Go 1.22 toolchain) that depends on a few modules hosted in a private Git repository. My current setting is the default GOPROXY=https://proxy.golang.org,direct , and GOPRIVATE covers the private repo path. My understanding is that when the public proxy returns 404/410 for a private path, the toolchain falls back to direct