move _ResponseCache back to module level

No need to use an inner class there - it’s not going to be subclassed
or anything, and it’s actually module specific, not class specific