Apollo Server cache using Aerospike
This package exports an implementation of KeyValueCache using Aerospike as the cache for resource caching in Apollo Data Sources.
Usage
const ApolloServer = ;const ApolloCacheAerospike = ;const responseCachePlugin = ; const server = typeDefs resolvers cache: namespace: 'test' set: 'entity-cache' valueBinName: 'cache-value' cluster: hosts: addr: "localhost" port: 3000 cacheControl: defaultMaxAge: 30 plugins: moviesAPI: ;
For documentation on the Aerospike cluster options bassed to the Aerocpike client, refer to here