An in-memory cache for mdock