id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 18482 Cache backend API should close() Russell Keith-Magee nobody "At present, only the memcached cache backends have a close() method. This means that you can't reliably call close() on a cache -- you need to protect it with ""hasattr(cache, 'close')"". Django's own code even does this, in the end-request signal handler. The cache backend API should include a no-op close() method by default, matching the API from the memcached backend. The close() method (and the end-request handler) were added in r8418 " Cleanup/optimization closed Core (Cache system) 1.4 Normal fixed Ready for checkin 0 0 0 0 1 0