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
TypeScript Declarations for NPM Packages Read tip
Copyright Format in Website Footer Read tip
List All Containers in a Network by Name Read tip