iampersistent / DownloadBundle

Handle downloading of protected files
13 stars 1 forks source link

Webserver accelerated download #1

Open igorw opened 14 years ago

igorw commented 14 years ago

Many webservers support accelerated downloads by sending a special header such as apache's X-Sendfile or the X-Accel-Redirect from nginx. It would be nice to have support for those. However, there need to be measures in place to prevent the headers if not needed, because they expose the physical file location.

iampersistent commented 14 years ago

Could you give me some urls about this?

igorw commented 14 years ago

Sure.

http://blog.lighttpd.net/articles/2006/07/02/x-sendfile http://john.guen.in/past/2007/4/17/send_files_faster_with_xsendfile/ http://kovyrin.net/2006/11/01/nginx-x-accel-redirect-php-rails/ http://wiki.nginx.org/NginxXSendfile http://rocketscience.itteco.org/tag/x-accel-redirect/

I'm sure you can find some more. :)