Hi, this blog is no longer maintained, my new blog is here

Ruby On Rails and a Conning Israeli entrepreneur

Apache X-SendFile in Rails

" There's this slick HTTP header called "X-Sendfile" that Apache and Lighttpd support. It was made to address this kind of problem (isn't that convenient?). Now, when you send an HTTP response, all you have to do is tack on an X-Sendfile header with the path of the file you need to send—don't worry about actually reading the file or sending any of those bytes yourself. The web server will load the file you specified and send it downstream."


nothing to add, read more on John Guenin Post

p.s
Benchmrk'd to 400% faster for one of my apps. great job



0 comments:


The Web Ask eizesus.com

Subscribe

    follow me on Twitter

    Twiters Around

    About Me

    My photo
    I am a web developer for more than 9 years, managed, cried, coded, designed and made money in this industry. now trying to do it again.

    Labels