From lists at ruby-forum.com Fri May 14 12:09:40 2010 From: lists at ruby-forum.com (Fernando Perez) Date: Fri, 14 May 2010 18:09:40 +0200 Subject: [Mongrel] byte-range requests In-Reply-To: <24A4637A-8B50-43F0-A6CA-A6D32CC1AC28@nextengine.com> References: <6f7401650711072243h2701d6e6ice2d9acbedf6423a@mail.gmail.com> <24A4637A-8B50-43F0-A6CA-A6D32CC1AC28@nextengine.com> Message-ID: <552ad665f62a594a783fbecaafc03f08@ruby-forum.com> Pete DeLaurentis wrote: > Hi Alex, > > Check out the x_send_file plugin. When you use this to send a file, > it just sends the location on disk to the web-server (in a special > HTTP header). > > The webserver then looks up the file + streams it down to the > client. I've noticed a huge speed boost after switching to x_send_file. > > Since you observed that files sent by nginx work on your iPhone, this > would allow nginx to do the heavy lifting for you. > > I know that Lighttpd + Apache support X-Send-File, although I'm not > sure about nginx. > > Hope this helps, > Pete Hi, is it possible to http-stream seekable mp4 videos with X-Accel-Redirect? Or do I need to add some plugin or other stuff as well? I am targetting the new