Context: http, server, and location
This directive allows you to enable the cache that stores information about open files. It does not actually store file contents but only information such as:
- File descriptors (file size, modification time, and so on).
- The existence of files and directories.
- File errors, such as permission denied, file not found, and so on. Note that this can be disabled with the open_file_cache_errors directive.
This directive accepts two arguments:
- max=X, where X is the number of entries that the cache can store. If this number is reached, older entries will be deleted in order to leave room for newer entries.
- Optionally inactive=Y, where Y is the of seconds that a cache entry should be stored. By default, ...