diff options
author | Ruslan Ermilov <ru@nginx.com> | 2011-11-16 13:11:39 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2011-11-16 13:11:39 +0000 |
commit | bec516bec93cbe8bf9d6b9698901caa180d9cf72 (patch) | |
tree | ca57022c98035dc3e063a34b4e38aae8b68b8e53 /src/os/unix/ngx_files.c | |
parent | 963315aca0a62355eff8240066a0ac1182de428f (diff) | |
download | nginx-bec516bec93cbe8bf9d6b9698901caa180d9cf72.tar.gz nginx-bec516bec93cbe8bf9d6b9698901caa180d9cf72.zip |
Now nginx uses TTL of a DNS response when calculating cache validity.
Previously it used a hardcoded value of 300 seconds. Also added the
"valid=" parameter to the "resolver" directive that can be used to
override the cache validity time.
Patch by Kirill A. Korinskiy with minor changes.
Diffstat (limited to 'src/os/unix/ngx_files.c')
0 files changed, 0 insertions, 0 deletions