aws-codeartifact-proxy
aws-codeartifact-proxy copied to clipboard
Does this project support caching
Hi team,
I'm currently using aws-codeartifact-pro as a proxy for my CodeArtifact private npm registry. I wanted to understand how the caching mechanism works in this setup. Does the proxy cache package data from CodeArtifact? If so, how long are the packages cached, and is there a way to configure this cache?
Thanks for your assistance!
and if is there an option to create a token on your behalf like here https://docs.npmjs.com/using-private-packages-in-a-ci-cd-workflow or even aws authorization token with this command: aws --region us-east-1 codeartifact get-authorization-token --domain <domain-name> --query authorizationToken --output text
Thanks in advance!
To answer your first comment, there is no caching being done on the proxy itself. It just fetches the packages as-is from the CodeArtifact repository.
If you'd like a cache implemented, I am welcome to contributions or a feature request to be raised (though it will be a while till I get to this).
For your 2nd comment, do you have a specific usecase you're trying to solve?