File tree 1 file changed +22
-0
lines changed
1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -350,6 +350,28 @@ requester.links()
350
350
351
351
```
352
352
353
+ # How do I ... Know that Redis is working?
354
+
355
+ Assuming that you already installed the Redis package, changed your config, restarted the server and made some requests to store the data...
356
+
357
+ Use Redis CLI to check it out.
358
+
359
+ KEYS (pattern, you can use an asterisk like I did) - lists all the stored keys
360
+
361
+ get (keyid) - prints stored key value (in our case HTML)
362
+
363
+ ```
364
+
365
+ root@altiusday:~# redis-cli
366
+ 127.0.0.1:6379> KEYS *
367
+ 1) "www.artefaktas.eu/2021/10/pora-react-komponentu"
368
+ 2) "www.artefaktas.eu/"
369
+ 3) "www.artefaktas.eu/2021/11/flask-per-https-ubuntu-apache"
370
+ 4) "www.artefaktas.eu/2021/11/reikia-programinio-kodo-google"
371
+ 127.0.0.1:6379> get www.artefaktas.eu/2021/10/pora-react-komponentu
372
+
373
+ ```
374
+
353
375
# Contacts
354
376
355
377
andrius@artefaktas.eu
You can’t perform that action at this time.
0 commit comments