From 6d83c4d76c82a87cf6df436a5ab73e3b7c819e66 Mon Sep 17 00:00:00 2001 From: Igor Chubin Date: Sun, 25 Apr 2021 21:00:30 +0200 Subject: [PATCH] Add doc how to switch caching off (#291) --- doc/standalone.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/standalone.md b/doc/standalone.md index 4c9b8bf..4b60401 100644 --- a/doc/standalone.md +++ b/doc/standalone.md @@ -42,6 +42,17 @@ directory. ![cheat.sh standalone installation](https://user-images.githubusercontent.com/3875145/57986904-ef3f1b80-7a7a-11e9-9531-ef37ec74b03a.png) +If you don't plan to use Redis for caching, +switch the caching off in the config file: + +``` + $ vim ~/.cheat.sh/etc/config.yaml + cache: + type: none +``` + +or with the environment variable `CHEATSH_CACHE_TYPE=none`. + ## Update cheat sheets Cheat sheets are fetched and installed to `~/.cheat.sh/upstream`.