commit | bec516bec93cbe8bf9d6b9698901caa180d9cf72 | [log] [tgz] |
---|---|---|
author | Ruslan Ermilov <ru@nginx.com> | Wed Nov 16 13:11:39 2011 +0000 |
committer | Ruslan Ermilov <ru@nginx.com> | Wed Nov 16 13:11:39 2011 +0000 |
tree | ca57022c98035dc3e063a34b4e38aae8b68b8e53 | |
parent | 963315aca0a62355eff8240066a0ac1182de428f [diff] |
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.