Cache go packages to speed up builds in poudriere

From: Matthias Fechner <>
Date: Thu, 23 Feb 2023 14:01:44 UTC
Dear all,

is there a way that go (that is used by ports in poudriere) can cache go 
I ask because if I e.g. make a new port for devel/gitaly which uses go 
and I make a test build, it takes about 30-45 minutes to download the 

And it seems that it is downloading the packages again and again with 
each testbuild.

As I have a really slow internet connection here, this is really very 

Thanks a lot for any tips.



"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook