This would allow us to trigger private file downloads without invoking Drupal or PHP, which would be a major performance win.

This would likely be done through integration with https://drupal.org/project/nginx_accel_redirect
Perusio (the module maintainer) will need to confirm first that the module is ready for this integration, and that works properly on both nginx and apache.

Comments

Dave Reid’s picture

Subscribing since I'm interested in how we could support this in File entity as well.

hmartens’s picture

Should this sort out the large file downloads timing out? When I try to download a 700mb from my server it doesn't time out. When I download the large file from within Drupal it times out at about 80mb...

bojanz’s picture

Yes. Timeouts happen because the files go through PHP.
This issue will allow the download to go straight through the web server.

hmartens’s picture

Thanks Bojan. Is there a place where I can go look at what php settings needs to change to be able to download such big files?

bojanz’s picture

Time and memory limits probably, you will need to search for it (there is probably something in this queue)