CacheQL is an open-source library for server-side caching GraphQL queries. This specific repository used a Redis cache to test performance and fnuctionality, but can be incorporated with other caching mechanisms and databases.
CacheQL is in beta. The founding team is actively working on new features to optimize the tool. All feedback is welcome. Please post issues directly to this GitHub.
Use the package manager npm to install foobar.
npm install cacheqlconst cacheQL = require('cacheql')
// inside of resolvers
cacheql.checkify('word') # returns 'words'
cacheql.cachify('goose') # returns 'geese'
cacheql.singularize('phenomena') # returns 'phenomenon'Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.