Plugins - XSendFile
Add to favoritesThe XSendFile plugin provides a simple interface for sending files via the X-Sendfile HTTP header. This enables your web server to serve the file directly from disk, instead of streaming it through your Rails process. This is faster and saves a lot of memory if you're using Mongrel. Not every web server supports this header. YMMV.
The interface is as close as possible to Rails’ ActionController::Streaming#send_file method.
http://john.guen.in/rdoc/x_send_file/
http://john.guen.in/svn/plugins/x_send_file/
Rails' (MIT)
Controllers
