Implement cache management