ProjectSend
  • About
  • Installation
    • Requirements
    • Manual installation
    • Configuration file
    • One click installers
    • Upgrading
    • Translations
    • Advanced: improving downloads
  • How to use
    • Files
      • File types restrictions
      • Orphan files
      • File size limits
      • Categories
    • Users and clients
      • Creating accounts
      • Self registration
    • Groups
    • Public files and groups
    • Templates
    • E-mail notifications
      • SMTP settings
      • E-mail templates
      • Testing email settings
    • Actions log
    • Cron tasks
    • Custom CSS/JS/HTML
      • Using the assets manager
      • Using custom files
  • Troubleshooting
    • Debug mode
    • Checking php errors
    • Finding and reporting bugs
    • How to get support
    • Collaborate
Powered by GitBook
On this page
  1. Installation

Advanced: improving downloads

Improve download speed and support resuming by using XSendFile

PreviousTranslationsNextFiles

Last updated 2 years ago

If you have access to edit your Apache or NGINX sites and configurations, it's recommended that you enable XSendFile (or X-Accel) so the files are served directly, eliminating php as a middle-man, which can be the cause of slow, interrupted downloads, or corrupted files (specially when downloading very large files).

After enabling the module, make sure to also enable the corresponding option in Options -> General.

If you are using NGINX, ProjectSend will give you the code that you need to add to your server block.

A few resources on how to get started if you are not familiar with X-Accel or XSendFile:

mod_xsendfile for Apache2/Apache2.2
XSendfile on NGINX wiki
Example: X-Accel download method selected for nginx