docs: public static Cache newLruCache(final int cacheSizeInBytes) {
      return new Cache() {
        private final LruCache<Key, Value> lruCache =
            new LruCache<Key, Value>(cacheSizeInBytes) {
              protected int sizeOf(Key key, Value value) {
                return value.response.getSerializedSize();
              }
            };
  
        @Override
        public void put(Key key, Value value) {
          lruCache.put(key, value);
        }
  
        @Override
        public Value get(Key key) {
          return lruCache.get(key);
        }
  
        @Override
        public void remove(Key key) {
          lruCache.remove(key);
        }
  
        @Override
        public void clear() {
          lruCache.evictAll();
        }
      };
    }