Commit 4ab25d6
committed
Documented that directio does not apply to cached files.
Users commonly assume directio takes effect for files served from
proxy_cache (the most widespread nginx deployment), and configure it
expecting reduced page cache pressure on the cache path. It does not:
cached responses are served through buffered I/O regardless of the
directive. See nginx/nginx#654 for context.1 parent b17afd4 commit 4ab25d6
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
525 | | - | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
526 | 528 | | |
527 | 529 | | |
528 | 530 | | |
| |||
0 commit comments