1. Michael Bayer
  2. dogpile.cache
  3. Issues
Issue #48 resolved

Disable dogpile.cache - e.g. "NullBackend"

Antoine Bertin
created an issue

I have a region created with make_region, some calls of


How can I disable caching (NeedRegeneration being raised on each call)?

Comments (5)

  1. Michael Bayer repo owner

    in the immediate sense, assuming we're talking about some global startup setting, you could just replace "region" with a dummy object. Or then configure the region with a so-called "null" backend. We can add a null backend to the library but you can also make one for the moment using the backend API. Thought we had an issue for this already, will update the name.

  2. Log in to comment