Ideally, it would be something I could set to cache yast update’s download folder - which I suppose will be emptied after the local update is done, so perhaps it would require a delay to give time to the caching. The the proxy would delete the cahed files after a period, say, a week.
The total Leap 15.4 update repository packages size for x86_64 (x86_64 and noarch) is approximately 21GB as of now. To estimate future growth we can look at Leap 15.3 (which is near end of life) which takes about 86GB. So about 100G should probably be enough for the Leap life time. Just mirror it and use as local repository. Official tool to do it is RMT (Repository Mirroring Tool) but it you can also use any other method. Adding yet another fixed 58GB for base repositories, you get local package source that can be used as installation server.