⚠️
This is the documentation for the old GraphQL Mesh version v0. We recommend upgrading to the latest GraphQL Mesh version v1.
Migrate to GraphQL Mesh v1
Migrate to GraphQL Mesh v1
File Cache
This caching strategy will use the file system as the storage.
To get started with this caching strategy, install it:
npm i @graphql-mesh/cache-fileHow to use?
.meshrc.yaml
cache:
file:
path: ./my-cache.json # the extension should be .jsonConfig API Reference
path(type:String)