in memory cache for storage

This is useful if we are using some slow backend storage.