WIP: working on cache. Eventually consistent counter added.