Design XHCacheManager api