BACKTRACE

(condense)

Back to Posts List

GET

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



POST

blog comments powered by Disqus

I Don't have cookies.

ELAD ENV

Variable Value
LINKEDIN
TWITTER
FACEBOOK
GITHUB
WWR
IRC
{ 'irc.freenode.net' => [ '#rubyonrails', '#railsbridge', '#ruby', '#mootools' ]}
SKYPE
eladmeidar

You're seeing this error because I think it is funny.