XSendFile Support
PHP is possibly the best scripting language there is for web developing however it is not designed to handle large files. Your webserver however is built to be able to handle large files so it seems only logical for your server to be doing most of the hard work when files are downloaded.
We have integrated the Reservo core script with the 2 most common webservers, to allow for maximum performance when providing image downloads on busy sites. These can be found below:
- XSendFile - For Apache. If enabled, images will be handed off from PHP onto Apache when they are requested. This allows the webserver to handle the download rather than PHP whilst still keeping the original file location secure.
- XAccelRedirect - For Nginx. This is the same as above, however for a NGINX webserver.
For more information see our knowledge base on XSendFile or XAccelRedirect.