New implementation of cache manager