changed the memory cache to use groupcache's LRU for controlling the cache size