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
What Does This Bash Command Do? Read tip
Playground Application for JavaScript and Node.js Read tip
Quickly Get JavaScript Event Keycode Read tip