Add cacheKey generator function and add non-blocking memcache requests