[edit] directio

Syntax: directio size | off
Default: off
Context: http
server
location
Appeared in: 0.7.7
Reference: directio


The directive enables use of flags O_DIRECT (FreeBSD, Linux), F_NOCACHE (Mac OS X) or directio() function (Solaris) for reading files with size greater than specified. This directive disables use of sendfile for this request. This directive may be useful for big files:

    directio  4m;

Module: HttpCoreModule