docs: Add subsystem documentation for caching.

This commit is contained in:
Tim Abbott
2018-07-31 14:07:42 -07:00
parent 47aaa73f96
commit 6f7e12ea19
5 changed files with 266 additions and 5 deletions

View File

@@ -183,10 +183,13 @@ guide](../subsystems/queuing.html).
### memcached
memcached is used to cache database model objects. `zerver/lib/cache.py`
and `zerver/lib/cache_helpers.py` manage putting things into memcached,
and invalidating the cache when values change. The memcached
configuration is in `puppet/zulip/files/memcached.conf`.
memcached is used to cache database model
objects. `zerver/lib/cache.py` and `zerver/lib/cache_helpers.py`
manage putting things into memcached, and invalidating the cache when
values change. The memcached configuration is in
`puppet/zulip/files/memcached.conf`. See our
[caching guide](../subsystems/caching.html) to learn how this works in
detail.
### Redis