Jump to content

Implement Libapache2-Mod-Xsendfile Support For Download Plugin


Recommended Posts

Posted

There is a problem when downloading large files. Because it all depends on the parameter max_execution_time in php.ini, the user may experience problems with break connection while downloading a file. To solve this problem, there is a module for the web server libapache2-mod-xsendfile which allows control of downloads directly by webserver bypassing PHP. Inside the application we need to use some additional headers like: header("X-Sendfile: $filename");.

Here is an example: http://www.jasny.net/articles/how-i-php-x-sendfile/

Here is author web page: https://tn123.org/mod_xsendfile/

I'm asking for implement this feature into Download Plugin.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...