From 482b7b5e1e383e8731a44a5333b18f5f11ecdbd2 Mon Sep 17 00:00:00 2001 From: a10zn8 Date: Mon, 19 Dec 2022 17:25:21 +0400 Subject: [PATCH] requests-cache-enabled docs --- docs/10-caching.adoc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/10-caching.adoc b/docs/10-caching.adoc index 25ffce51..4aa04c46 100644 --- a/docs/10-caching.adoc +++ b/docs/10-caching.adoc @@ -11,6 +11,16 @@ immediately evicted from the caches. Dshackle keeps latest blocks in memory (by default 64 blocks) +=== Disable all caching and cache related optimisations +Sometimes you may need to disable all caching and optimisations and just send all requests to remote upstreams as is. + +.Disable cache config (dshackle.yaml) +[source, yaml] +---- +cache: + requests-cache-enabled: false +---- + === Redis cache Dshackle can optionally cache blocks and transactions in Redis cache. The values are cached up to 1 hour, but