• Docs
  • Cache Storages
  • File

File Cache

This caching strategy will use the file system as the storage.

To get started with this caching strategy, install it:

yarn add @graphql-mesh/cache-file

How to use?

.meshrc.yaml
cache:
  file:
    path: ./my-cache.json # the extension should be .json

Config API Reference

  • path (type: String)
Last updated on October 24, 2022