Plugins - XSendFile

StarAdd to favorites

The 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.

John Guenin

http://john.guen.in/rdoc/x_send_file/

http://john.guen.in/svn/plugins/x_send_file/

Rails' (MIT)

  • Currently 5.0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Controllers

Tags

Comments

Add a comment

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?