getRestCacheStore function

MemCacheStore getRestCacheStore()

Returns the global MemCacheStore used for REST caching.

Creates one lazily if it doesn't exist yet.

Implementation

MemCacheStore getRestCacheStore() {
  _cacheStore ??= MemCacheStore();
  return _cacheStore!;
}