Skip to content
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

Allow a cache when proxying #25

Closed
chrishas35 opened this issue Oct 1, 2011 · 4 comments
Closed

Allow a cache when proxying #25

chrishas35 opened this issue Oct 1, 2011 · 4 comments
Labels

Comments

@chrishas35
Copy link

Rather than simply redirecting to pypi, it'd be nice to have an additional setting that will enable caching of missing packages on the local djangopypi server. What are your thoughts on including something like this? I'm willing to work on implementing if others desire it too.

@benliles
Copy link
Owner

benliles commented Oct 2, 2011

I was actually working on this in addition to a setting to turn it into a mirror of pypi.python.org. The problem with just caching the ones that are missing is that you won't get updates for packages which is why I'm wrapping it in with the mirror support. I figured that there could be a flag for mirroring only requested packages.

@chrishas35
Copy link
Author

Is there a branch with this code?

@benliles
Copy link
Owner

benliles commented Oct 4, 2011

No, I was doing the work on the master branch, it's mainly a management command for now. I was going to refactor it once I got the management command working so that it would be more useable.

@kbrownlees
Copy link

This would be a great feature, I am also willing to put in some time if it would help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants