Skip to content

Improve Nginx Performance: Direct File Transfers

View on Twitter

💡 A quick tip to boost Nginx performance:

👉🏼 Speed up file transfers by using sendfile() to copy directly between descriptors rather than using read() & write().

Improve Nginx performance by setting sendfile directive in the https block to on.

Download the VPS Security Cheatsheet

Use this FREE security cheatsheet to not miss a step when securing your VPS.

A preview of the VPS Security Cheatsheet.

You'll also get tips on building scalable Node.js applications about twice a month. I respect your email privacy. Unsubscribe any time.

You might also like
Colour Contrast for Accessibility Read tip
Github Profile README Chess Game Read tip
Synchronous Container Startup in Docker Compose Read tip