-
Notifications
You must be signed in to change notification settings - Fork 498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Serve as a proxy for the go tool #9
Comments
@bketelsen we said in the registry section that if a user specifies a module name: That rule would make the world look like this:
I wanted to note the naming rules, because I think they indicate a solution to the problem you posed (reducing load on upstream VCS servers and serving from a CDN): We can remove the concept of proxying altogether and always cache upstream VCS code. We can roughly enable that with the webhook flow, but there might be fancier ways to do it like doing automatic synchs or something (Heroku does automatic deploys based on CI results, for example). In removing proxying, always caching, and always deriving the name from the |
would this be solved by #238? |
I think it is? @bketelsen can you close if you agree? |
@bketelsen ping pong |
This is currently how the proxy works, and when we're running on a public domain name (we are currently doing that with an experimental server, but see #772 for more concrete plans), developers will set GOPROXY to the new DNS entry. Closing |
if a user sets the GOPROXY environment variable to our domain name, they should use our service to download modules, zip files, metadata, etc from our servers where it is cached from the upstream sources.
This reduces load on upstream VCS servers, and allows us to provide a better experience for end-users by using a CDN for content.
The text was updated successfully, but these errors were encountered: