The Guild LogoThe Guild Monogram

Search docs

Search icon

Products by The Guild

Products

Hive logoHive blurred logo

Hive

Schema Registry for your GraphQL Workflows

Skip to main content

InMemory LRU Cache

This caching solution uses an in-memory LRU cache store that is used by default. You can learn more about LRU Caching; Least_recently_used

You can configure the maximum cache entries you want to keep.

To get started with this caching strategy, install it from npm:

yarn add @graphql-mesh/cache-inmemory-lru

How to use?#

cache:
inmemoryLRU:
max: 1000 # This will set the size

Config API Reference#

  • max (type: Int)