mod_xsendfile
mod_xsendfile is a small Apache2 module that processes X-SENDFILE headers registered by the original output handler.
If it encounters the presence of such header it will discard all output and send the file specified by that header instead using Apache internals including all optimizations like caching-headers and sendfile or mmap if configured.
It is useful for processing script-output of e.g. php, perl or any cgi.
Referance from http://tn123.ath.cx/mod_xsendfile/
mod_xsendfile allows us to handle Drupal private file transfer fast and more secure way, you can keep your default path to files directory and still you can protect files from the unauthorized access to your contents with the x-send files enabled.
Module Description : http://drupal.org/project/xsend
We may need some improvements to the code and the logic that I followed, I tested the module and worked 100%, you can test the module and see how its working, I will send you benchmarking results soon. :) this is amazingly faster and secure.
Attachment | Size |
---|---|
without xsend files.png | 31.61 KB |
with send files.png | 32.36 KB |