Niklas Otter Wiki
Attachments
History
Blame
View Source
Documentation
Toggle dark mode
Login
Home
A - Z
Changelog
Page Index
Python
(Default)Dict
Bytes
Dataclass
DJANGO Debug Toolbar
DJANGO Secret Key
DJANGO Session And Cache
GUNICORN Deployment
GUNICORN Static Files
Heapq
Otterwiki Installation
Property
Python Virtual Environment
An Otter Wiki
Python
DJANGO Session And Cache
e43f24
Commit
e43f24
2026-08-08 22:25:58
Niklas Polke
: Update Redis Install Info
python/django session and cache.md
..
@@ 12,6 12,14 @@
:::
## Using Cache
+
### Installation
+
```bash
+
sudo apt redis-server
+
sudo systemctl enable --now redis-server
+
redis-cli ping
+
```
+
+
### Configuration
`settings.py:`
```python
CACHES = {
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9