They all seem to support that technique in one way or another. You are a god :D. You have saved me SO much time you don't even know. This is exactly what I was looking for (different then what I was thinking, but works exactly the way I want).
Thanks! On Apr 8, 5:44 pm, Paweł Stradomski <[email protected]> wrote: > W liście Mike Orr z dnia środa, 8 kwietnia 2009: > > > On Wed, Apr 8, 2009 at 1:26 PM, Jason Reid <[email protected]> wrote: > > > Is that not going to kill Python; especially if I am serving enormous > > > files at high speeds to multiple users? It also needs to support > > > concurrent connections to the same resource as well as starting > > > offsets for download managers? > > > If the system will be serving disproportionately more static files > > than dynamic pages, then at some point Python will not be able to keep > > up, and you'll have to serve the files from Apache with a non-Python > > authorization system. WebKit was not designed for this situation. > > I don't know about Apache, but with lightppd or ngnix in the front you could > modify static middleware not to stream the file, but instead return empty > respone with X-Sendfile header - then lighty or nginx would pick up the file > and stream it to client. > > The header has sligthly different name and meaning in one of those servers, I > don't recall which one. > -- > Paweł Stradomski --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
