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 7744 cache.add() should return result qmanic nobody "Currently, cache.add() doesn't have a documented return type and for most backends doesn't return anything useful. I think it should return ''something'', though I'm unsure as to what. For example, in the memcached libraries we call, add() returns True or False depending on whether the key gets added or not. One of the reasons behind this is so that locking can be emulated through the cache with a single add() call. Currently you'd have to add() some unique value, then get() it back out and compare the values." closed Core (Cache system) dev fixed cache add Design decision needed 1 0 0 0 0 0