WIP: working on new in-memory cache