aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_files.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-07-24 16:47:31 +0000
committerIgor Sysoev <igor@sysoev.ru>2011-07-24 16:47:31 +0000
commitc1250b6a491b221b546d9b0f8bbd3ed762f47b67 (patch)
tree810cd8a829e98f17113154799fe32554c04c4b1a /src/os/unix/ngx_files.h
parentbb389f6111ce8058fadbc6754b301f05890c5dbe (diff)
downloadnginx-c1250b6a491b221b546d9b0f8bbd3ed762f47b67.tar.gz
nginx-c1250b6a491b221b546d9b0f8bbd3ed762f47b67.zip
The cache loader performs two tasks: inserting cache objects in inactivity
list and evaluating total cache size. Reading just directory is enough for this purpose. Elimination of reading cache files saves at least one disk I/O operation per file. Preparation for elimination of reading cache files by cache loader: removing dependencies on the reading: *) cache node valid_sec and valid_msec are used only for caching errors; *) upstream buffer size can be used instead of cache node body_start.
Diffstat (limited to 'src/os/unix/ngx_files.h')
0 files changed, 0 insertions, 0 deletions