Add Support for specify cache key

specify the cache key rather than the uri.