extract cache context interface
don't expose storage context