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
Github Profile README Chess Game Read tip
Find Nearest Tailwind Colour Read tip
Find Out Why Your Site Isn't Fully Secure Read tip