Skip to content

Commit 6d83c4d

Browse files
committed
Add doc how to switch caching off (chubin#291)
1 parent 562875e commit 6d83c4d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/standalone.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,17 @@ directory.
4242

4343
![cheat.sh standalone installation](https://user-images.githubusercontent.com/3875145/57986904-ef3f1b80-7a7a-11e9-9531-ef37ec74b03a.png)
4444

45+
If you don't plan to use Redis for caching,
46+
switch the caching off in the config file:
47+
48+
```
49+
$ vim ~/.cheat.sh/etc/config.yaml
50+
cache:
51+
type: none
52+
```
53+
54+
or with the environment variable `CHEATSH_CACHE_TYPE=none`.
55+
4556
## Update cheat sheets
4657

4758
Cheat sheets are fetched and installed to `~/.cheat.sh/upstream`.

0 commit comments

Comments
 (0)