Skip to content
This repository has been archived by the owner on Jan 25, 2020. It is now read-only.

Rewrite tarball URLs to always go through kappa/internal host #16

Closed
totherik opened this issue Dec 6, 2013 · 0 comments
Closed

Rewrite tarball URLs to always go through kappa/internal host #16

totherik opened this issue Dec 6, 2013 · 0 comments

Comments

@totherik
Copy link
Contributor

totherik commented Dec 6, 2013

Currently, all tarball urls from public repo include the hostname registry.npmjs.org, thus once the initial json payload is downloaded via kappa, subsequent tarball requests are made of the public repo. This change will funnel all traffic through kappa, but more importantly through the private npm host/dns, such that caching can be added to the pipeline without messing with registry.npmjs.org via dns.

So instead of:

client --> kappa --> private couchdb -\
     \---------------------------------\---> public repo

you could support

client --> kappa --> private couchdb --> private cache --> public repo

tlivings pushed a commit to tlivings/kappa that referenced this issue Jan 23, 2014
tlivings pushed a commit to tlivings/kappa that referenced this issue Jan 23, 2014
@ghost ghost assigned tlivings Jan 23, 2014
tlivings pushed a commit to tlivings/kappa that referenced this issue Jan 24, 2014
jasisk added a commit that referenced this issue Jan 24, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants