diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/cache.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/topics/cache.txt b/docs/topics/cache.txt index 2f95c33dd5..a15cf58370 100644 --- a/docs/topics/cache.txt +++ b/docs/topics/cache.txt @@ -785,6 +785,16 @@ nonexistent cache key.:: However, if the backend doesn't natively provide an increment/decrement operation, it will be implemented using a two-step retrieve/update. + +You can close the connection to your cache with ``close()`` if implemented by +the cache backend. + + >>> cache.close() + +.. note:: + + For caches that don't implement ``close`` methods it is a no-op. + .. _cache_key_prefixing: Cache key prefixing |
