Mercurial > hg > nginx-quic
diff conf/mime.types @ 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 | cff87803b898 |
children | dceb4f509661 |