• Docs
  • Cache Storages
  • Redis

Redis Cache

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

To get started with this caching strategy, install it:

yarn add @graphql-mesh/cache-redis

How to use?

.meshrc.yaml
cache:
  redis:
    host: localhost
    port: 9876
    password: MY_SECRET_PASSWORD

Config API Reference

  • host (type: String)
  • port (type: String)
  • password (type: String)
  • url (type: String)
Last updated on October 24, 2022