Merge pull request #94 from p2p-org/disable-cache-doc
requests-cache-enabled docs
This commit is contained in:
@@ -11,6 +11,16 @@ immediately evicted from the caches.
|
|||||||
|
|
||||||
Dshackle keeps latest blocks in memory (by default 64 blocks)
|
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
|
=== Redis cache
|
||||||
|
|
||||||
Dshackle can optionally cache blocks and transactions in Redis cache. The values are cached up to 1 hour, but
|
Dshackle can optionally cache blocks and transactions in Redis cache. The values are cached up to 1 hour, but
|
||||||
|
|||||||
Reference in New Issue
Block a user