We were recently discussing this on the djangoseattle list. I hadn't
considered using Varnish to cache the packages. I'd be curious if you could
get it to work.

Be aware that there is a new and improved pypi mirror in town:
http://crate.io/

Looks very interesting but haven't tested it.

On Fri, Feb 3, 2012 at 11:56 AM, James Cooper <[email protected]> wrote:

> Hey guys,
>
> Two things on my mind today:
>
> (1) Next meeting is next week: Thurs, Feb 9 at Office Nomads.
>
> We'll be doing a coding problem.  I'll present the problem and we'll split
> up into groups of 2-3 to work together to solve it.  Then we can do a show
> and tell, talk about different implementations, etc.  Should be fun!  Bring
> a laptop if possible.
>
> (2) Question about PyPi
>
> Anyone know if it's possible to setup a reverse proxy (e.g. Varnish) to
> cache PyPi packages?  I'm working on a project where we may have a strange
> usage pattern where we'll be setting up virtualenvs frequently and
> downloding similar packages over and over.  I don't want to go to PyPi if I
> can avoid it (for performance / bandwidth reasons).
>
> Varnish seems like it'd do the trick, but I'm not sure if PyPi does things
> like set No-Cache headers, or if there's more complexity going on than just
> simple GET downloads from the central repo.
>
> any thoughts?
>
> cheers
>
> -- James
>
> --
>
> James Cooper
> http://blog.bitmechanic.com/
>

Reply via email to