diff options
Diffstat (limited to 'plugin/cache')
-rw-r--r-- | plugin/cache/README.md | 2 | ||||
-rw-r--r-- | plugin/cache/cache.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugin/cache/README.md b/plugin/cache/README.md index ad2483ae9..924a7543e 100644 --- a/plugin/cache/README.md +++ b/plugin/cache/README.md @@ -19,7 +19,7 @@ cache [TTL] [ZONES...] ~~~ * **TTL** max TTL in seconds. If not specified, the maximum TTL will be used, which is 3600 for - noerror responses and 1800 for denial of existence ones. + NOERROR responses and 1800 for denial of existence ones. Setting a TTL of 300: `cache 300` would cache records up to 300 seconds. * **ZONES** zones it should cache for. If empty, the zones from the configuration block are used. diff --git a/plugin/cache/cache.go b/plugin/cache/cache.go index cd0fda505..bc82bb604 100644 --- a/plugin/cache/cache.go +++ b/plugin/cache/cache.go @@ -118,7 +118,7 @@ type ResponseWriter struct { // newPrefetchResponseWriter returns a Cache ResponseWriter to be used in // prefetch requests. It ensures RemoteAddr() can be called even after the -// original connetion has already been closed. +// original connection has already been closed. func newPrefetchResponseWriter(server string, state request.Request, c *Cache) *ResponseWriter { // Resolve the address now, the connection might be already closed when the // actual prefetch request is made. |