Catch the highlights of GraphQLConf 2023! Click for recordings. Or check out our recap blog post.
Cache Storages

Redis Cache

This caching strategy will use your Redis instance as the storage.

To get started with this caching strategy, install it:

npm i @graphql-mesh/cache-redis

How to use?

    host: localhost
    port: '9876' # port should be a string
    password: 'MY_SECRET_PASSWORD'

Config API Reference

  • host (type: String)
  • port (type: String)
  • password (type: String)
  • url (type: String)
  • lazyConnect (type: Boolean) - Flag to indicate lazyConnect value for Redis client.

@default: true