Caching proxies (Nexus, Artifactory)¶
A caching proxy stores copies of what your teams install. Put SWNDX in front of it, so the proxy only ever fetches what SWNDX allows.
| Ecosystem | Remote (proxy) repository URL |
|---|---|
| PyPI | https://py.swndx.dev/public/default/, or https://py.swndx.dev/public/relaxed/ for the relaxed index (both products add simple/ themselves; in Artifactory, keep the registry suffix simple) |
| npm | https://node.swndx.dev/public/default/ |
- Point developers and CI at the proxy only.
- Only the proxy talks to SWNDX, so every install behind it shares one address and one rate limit: request a token and restrict it to the proxy's address.
- Configure the token as the remote repository's password (any username) for PyPI, or as a bearer token for npm.
- The proxy's cache keeps serving a version SWNDX has since removed. When we announce a removal, purge it from the proxy too.