locally caching  the cache key