Hi,
Rails 3 allow to send static files directly and more performantly to HTTP clients and bypassing your app server process (as described see http://john.guen.in...)
send_file '/path/to.png', :x_sendfile => true, :type => 'image/png'
I want to deploy my app on heroku.
heroku use Nginx 0.6.32 (see http://docs.heroku.com/aspen).
Does x_sendfile
works on heroku?
Here is what i found on Nginx http://wiki.nginx.org/NginxXSendfile
Cheers