1.0.4 • Published 6 months ago
qlutch v1.0.4
QLutch
%%Logo%%
A caching solution for graphQL APIs that interfaces with Redis for high-speed data retrieval, combined with performance visualization.
Features
- Redis cache integration for graphQL queries and Create mutations.
- Performance monitor.
![QLutch Data Flow (1).png] ![Pasted image 20231106221347.png]
%%Demo Gif%% ![Pasted image 20231106221334.png]
Usage Notes
- Caching support for Update and Delete mutations is not yet implemented.
Roadmap
Installation
- User creates application and installs Qlutch dependency via npm
- Set up Redis database in application
- Require Qlutch and Redis in server file
- Need two endpoints – one for qlutch and one for gql
- Install qlutch as middleware in /qlutch – pass in “actualGraphql” endpoint and redis
- User would need to return res.locals.response in /qlutch endpoint
- Fetch requests on frontend will need to be made to /qlutch