Disable caching of uploaded files

Added by jupi almost 9 years ago


I'm using lighttpd as webserver for an embedded device. I wrote a scgi application that serves as firmware upgrade utility and can be accessed via lighttpd.
Because a firmware upgrade can be more than 100 MB in size, I don't want lighttpd to cache the file before passing the request to my scgi application, but instead pass it on directly (my scgi application handles multipart/form-data uploads itself and stores the file to the right location), because the device simply hasn't the space to keep a temporary file and the file copied to its final destination for upgrading side by side.
So how can I turn the lighttpd file caching off and instead pass the request to my scgi application directly?