On Mon, Oct 10, 2011 at 2:34 PM, Sharil Shafie <sisha...@gmail.com> wrote:

>
> OK.  That means that the response doesnt contain that read file code.


That's the idea. The response body would be filled in by nginx.

Regardless this was all just a suggestion, there are other reasons why your
original response may be having issues when served directly by Pyramid. For
example, there could be misconfigured timeouts or size limitations, but it's
hard to say. Pyramid should have no trouble serving up static files under
light-moderate load. It's just that serving a file takes time, and during
that time your application won't be able to service many other requests
because it'll occupy one of the threads in your WSGI server's threadpool.

-- 

Michael

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to