Mercurial > hg > nginx
view auto/nohave @ 3967:83e41f6f6d96
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.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 24 Jul 2011 16:47:31 +0000 |
parents | 42d11f017717 |
children | d620f497c50f |
line wrap: on
line source
# Copyright (C) Igor Sysoev cat << END >> $NGX_AUTO_CONFIG_H #ifndef $have #define $have 0 #endif END