diff options
-rw-r--r-- | dogpile/cache/backends/null.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dogpile/cache/backends/null.py b/dogpile/cache/backends/null.py index d5d50aa..c1f46a9 100644 --- a/dogpile/cache/backends/null.py +++ b/dogpile/cache/backends/null.py @@ -25,6 +25,18 @@ class NullLock(object): class NullBackend(CacheBackend): + """A "null" backend that effectively disables all cache operations. + + Basic usage:: + + from dogpile.cache import make_region + + region = make_region().configure( + 'dogpile.cache.null' + ) + + """ + def __init__(self, arguments): pass |