> [!INFO]
> **Website**: [The S Group](https://www.sashas.org/)
> **Author**: Alexander Lukyanov
> **Published**: 2017-03-04
> **Summary**: The Adobe Commerce X-Sendfile / X-Accel-Redirect module is a free and open-source module that improves the performance of file downloads in Adobe Commerce. This module can significantly improve file download speeds, leading to increased customer satisfaction, improved website performance, and reduced hosting costs.

# Adobe Commerce - X-Sendfile / X-Accel-Redirect headers for downloadable products

 ![Adobe Commerce - X-Sendfile / X-Accel-Redirect headers for downloadable products - Adobe Commerce Technical Guide Guide](https://www.sashas.org/images/blog/img-magento-2-x-sendfile-x-accel-redirect-headers-downloadable-products.html-i.0.png)

 ##

 The Adobe Commerce X-Sendfile / X-Accel-Redirect module is a free and open-source module that improves the performance of file downloads in Adobe Commerce. The module works by sending the appropriate header to the web server when a customer downloads a file. This header tells the web server to send the file directly to the client, bypassing the Adobe Commerce application. This can significantly improve file download speeds.

 ## Features of the Adobe Commerce X-Sendfile / X-Accel-Redirect module:

 - Ability to choose server type from the admin: This feature allows you to choose whether to use X-Sendfile or X-Accel-Redirect for file downloads. - Header sent automatically when a customer downloads the file of downloadable product: This feature automatically sends the appropriate header to the web server when a customer downloads a file. This can improve file download speeds. - Ability to specify path for downloaded files outside of Adobe Commerce folder: This feature allows you to specify a path for downloaded files outside of the Adobe Commerce folder. This can be useful if you want to store downloaded files in a different location. - Improved security for file downloads: This module improves security for file downloads by preventing unauthorized access to files. - Supports Nginx & Apache web servers: This module supports both Nginx and Apache web servers.

 ![Adobe Commerce - X-Sendfile / X-Accel-Redirect headers for downloadable products - Adobe Commerce Technical Guide Guide](https://www.sashas.org/images/blog/img-magento-2-x-sendfile-x-accel-redirect-headers-downloadable-products.html-i.1.png)![Adobe Commerce - X-Sendfile / X-Accel-Redirect headers for downloadable products - Adobe Commerce Technical Guide Guide](https://www.sashas.org/images/blog/img-magento-2-x-sendfile-x-accel-redirect-headers-downloadable-products.html-i.2.png)You have the flexibility to enable or disable X-Sendfile / X-Accel-Redirect headers on your server. When you choose the appropriate server setting, the correct X-Sendfile / X-Accel-Redirect header will be sent to the customer's browser when they attempt to download a product. In addition, you have the option to bypass MIME detection, although this feature is only applicable to file-based downloads. If you are utilizing an NGINX server, you can configure an "Alias path" within your NGINX website configuration file. This path should correspond to the location you have specified for your server.

 ## Benefits of using the Adobe Commerce X-Sendfile / X-Accel-Redirect module:

 - Increased customer satisfaction: Faster file downloads can lead to increased customer satisfaction. - Improved website performance: Faster file downloads can improve website performance by reducing the amount of time that customers have to wait for files to download. - Reduced hosting costs: Faster file downloads can reduce hosting costs by reducing the amount of bandwidth that is used.

 ## How to install the Adobe Commerce X-Sendfile / X-Accel-Redirect module:

 To install the Adobe Commerce X-Sendfile / X-Accel-Redirect module, follow these steps: - Purchase the module from our website or Adobe Commerce Marketplace - Install module using composer - Enable the module in the Adobe Commerce admin panel.

 ## Conclusion

 The Adobe Commerce X-Sendfile / X-Accel-Redirect module is a valuable tool that can improve the performance of file downloads in Adobe Commerce. If you are looking for a way to improve the performance of file downloads on your Adobe Commerce store, I encourage you to install this module.

## Frequently Asked Questions

### Features of the Adobe Commerce X-Sendfile / X-Accel-Redirect module:

- Ability to choose server type from the admin: This feature allows you to choose whether to use X-Sendfile or X-Accel-Redirect for file downloads. - Header sent automatically when a customer downloads the file of downloadable product: This feature automatically sends the appropriate header to the w

### Benefits of using the Adobe Commerce X-Sendfile / X-Accel-Redirect module:

- Increased customer satisfaction: Faster file downloads can lead to increased customer satisfaction. - Improved website performance: Faster file downloads can improve website performance by reducing the amount of time that customers have to wait for files to download. - Reduced hosting costs: Faste

### How to install the Adobe Commerce X-Sendfile / X-Accel-Redirect module:

To install the Adobe Commerce X-Sendfile / X-Accel-Redirect module, follow these steps: - Purchase the module from our website or Adobe Commerce Marketplace - Install module using composer - Enable the module in the Adobe Commerce admin panel.



## Navigation & Categories
- [Experience](https://www.sashas.org/customer-experience.html)
  - [Catalog Enhancements](https://www.sashas.org/customer-experience/catalog-enhancements.html)
  - [Cart & Checkout](https://www.sashas.org/customer-experience/cart-checkout.html)
  - [Customers](https://www.sashas.org/customer-experience/customers.html)
  - [Shipping](https://www.sashas.org/customer-experience/shipping.html)
  - [Payments](https://www.sashas.org/customer-experience/payments.html)
- [Management](https://www.sashas.org/site-management.html)
  - [Sales & Fulfillment](https://www.sashas.org/site-management/sales-fulfillment.html)
  - [Catalog](https://www.sashas.org/site-management/catalog.html)
  - [Customer Support](https://www.sashas.org/site-management/customer-support.html)
  - [Marketing & Promotions](https://www.sashas.org/site-management/marketing-promotions.html)
  - [Content Management](https://www.sashas.org/site-management/content-management.html)
  - [Reporting & Analytics](https://www.sashas.org/site-management/reporting-analytics.html)
- [Optimization](https://www.sashas.org/optimization.html)
  - [Performance](https://www.sashas.org/optimization/performance.html)
  - [Monitoring](https://www.sashas.org/optimization/monitoring.html)
  - [Troubleshooting & Debugging](https://www.sashas.org/optimization/troubleshooting-debugging.html)
- [Blog](https://www.sashas.org/blog)
- [About Us](https://www.sashas.org/about-us.html)
- [Contact Us](https://www.sashas.org/contact.html)
- [Privacy Policy](https://www.sashas.org/privacy-and-refund-policy.html)
- [Refund Policy](https://www.sashas.org/refund-policy.html)
