Jump to content

Implement Libapache2-Mod-Xsendfile Support For Download Plugin


SimWhite

Recommended Posts

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...