From f5aa6cac67d65357dfa81f39f3ef33e57a376795 Mon Sep 17 00:00:00 2001 From: Chris O'Haver Date: Thu, 1 Nov 2018 15:37:13 -0400 Subject: [PATCH] remove trailing whitespace (#2260) --- plugin/cache/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/cache/README.md b/plugin/cache/README.md index d9bce23e2..ad2483ae9 100644 --- a/plugin/cache/README.md +++ b/plugin/cache/README.md @@ -25,7 +25,7 @@ cache [TTL] [ZONES...] Each element in the cache is cached according to its TTL (with **TTL** as the max). A cache is divided into 256 shards, each holding up to 39 items by default - for a total size -of 256 * 39 = 9984 items. +of 256 * 39 = 9984 items. If you want more control: @@ -53,7 +53,7 @@ cache [TTL] [ZONES...] { ## Capacity and Eviction -If **CAPACITY** _is not_ specified, the default cache size is 9984 per cache. The minimum allowed cache size is 1024. +If **CAPACITY** _is not_ specified, the default cache size is 9984 per cache. The minimum allowed cache size is 1024. If **CAPACITY** _is_ specified, the actual cache size used will be rounded down to the nearest number divisible by 256 (so all shards are equal in size). Eviction is done per shard. In effect, when a shard reaches capacity, items are evicted from that shard.