This hook enables XSendfile support for IP.Downloads. For forum attachments, please use this hook:
Last Updated 28 minutes ago
XSendfile basically negates the need to have PHP handle file transfers. This is favorable for many reasons, especially if you run a forum that hosts a lot of large downloads.
- When using this hook, you cannot restrict the maximum number of simultaneous downloads. As the download is being handed over to the web server, IP.Downloads will not know when a user actually has a download in progress. There is no way around this.
- Speed throttling will only work with Nginx, as Nginx (as far as I know) is the only web server that supports download rate limiting with X-Sendfile.