nginx-0.6.10
Igor Sysoev
is at rambler-co.ru
Tue Sep 4 22:09:24 MSD 2007
On Tue, Sep 04, 2007 at 11:58:46AM +0200, Joaquin Cuenca Abela wrote:
> On 9/3/07, Igor Sysoev <is at rambler-co.ru> wrote:
> > Changes with nginx 0.6.10 03 Sep 2007
> >
> > *) Feature: the "open_file_cache", "open_file_cache_retest", and
> > "open_file_cache_errors" directives.
>
> anyone knows what are those directives for? how do they work?
open_file_cache max=5000 inactive=30s;
sets open file descriptor cache with maximum 5000 items.
Inactive item life time is 30s, then it will be removed from cache.
Default is 60s.
May be set at http, server, and location levels.
The items are:
1) open file descriptors, file size and modification time;
2) directory existence;
3) file search errors - not found, access denied, etc.
open_file_cache_retest 20s;
sets time while the cached item is valid. nginx will retest item if
information is stale. Default is 60s
May be set at http, server, and location levels.
Probably "open_file_cache_valid 20s" is better name ?
open_file_cache_errors on|off
allows to cache file search errors. Default is "off".
May be set at http, server, and location levels.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list