next up previous contents index
Next: 6.9.6 Security and privacy Up: 6.9 Details of Cache Previous: 6.9.4 Cache consistency

6.9.5 Negative caching and DNS caching

   

To reduce the costs of repeated failures (e.g., from erroneously looping clients), we implemented two forms of negative caching. First, when a DNS lookup failure occurs, we cache the negative result for one hour. Second, when an object retrieval failure occurs, we cache the negative result for a parameterized period of time, settable via the negative_ttl variable in the cached.conf file. The default value is 5 minutes.

The cache also implements a cache of successful DNS lookups. The timeout for this cache is ``hard-coded'' at one day.



Darren Hardy
Thu Sep 7 16:00:45 PDT 1995