Ticket #933 (new enhancement)

Opened 2 years ago

Last modified 2 years ago

lighty should buffer responses (after it grows above certain size) on disk

Reported by: yusufg@gmail.com Assigned to: jan
Priority: normal Milestone:
Component: core Version: 1.5.x-svn
Severity: normal Keywords:
Cc: Blocking:
Need Feedback:

Description

Hi, nginx <http://nginx.net/> provides the ability to specify how much of the request/response is buffered in memory and request/responses larger than that are buffered on filesystems This would be useful for large POST requests (file-uploads) from slow clients or slow backends becayse lighty would manage the client handling and the backend would slurp the large request from the relatively quick connection between it and lighty

When you configure nginx, it defaults to providing the following parameters

nginx http client request body temporary files: $prefix/client_body_temp nginx http proxy temporary files: $prefix/proxy_temp

http://wiki.codemongers.com/NginxHttpCoreModule#client_body_temp_path http://wiki.codemongers.com/NginxHttpProxyModule

Attachments

Change History

12/13/2006 04:47:29 AM changed by jakabosky

I like this feature. It can help free up the backends when a slow client is sending a large request body.

12/13/2006 06:41:42 PM changed by jakabosky

request content > 64Kbyte will be cached to disk.

cache location:

server.upload-dirs

large response content will be cached the same way.


Add/Change #933 (lighty should buffer responses (after it grows above certain size) on disk)




Change Properties