On Aug 23, 2006, at 8:13 AM, zenx wrote: > I was reading some django performance tips: > http://www.jacobian.org/writing/2005/dec/12/django-performance-tips/ > One of them is: "Use a separate media server" > But how could I upload files with Django FileField or ImageField to > another webserver than the one using django?
You've got a few options. One is to (as Gabriel suggested) use lighttpd alongside Apache on the same physical machine. The faster option -- and the one we use -- is to have two physical machines, and just mount the media directory onto the Django server using NFS. This slightly slows down writes to file fields from Django, but drastically speeds up reads of media. Jacob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---