view auto/stubs @ 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 7bbebf565664
children d620f497c50f
line wrap: on
line source


# Copyright (C) Igor Sysoev


have=NGX_SUPPRESS_WARN . auto/have

have=NGX_SMP . auto/have