HacheQL, a lightweight library to make GraphQL requests HTTP-cacheable
HacheQL, a lightweight library to make GraphQL requests HTTP-cacheable
Hey all, I'd like to share something I've been working on for a while: HacheQL. HacheQL is a developer library and NPM package that makes it possible to cache GraphQL queries and responses with the http caching mechanism built into browsers and the proxy infrastructure of the web. It's open source, compatible with whatever graphql infrastructure you've already implemented, and is scalable and performant. To set it up, just import and use our middleware along the GraphQL route in your server's code. Then wrap any http requests you wish to cache in the provided client function. If you have an extensive codebase, you don't need to transition all at once - using just the middleware won't give any caching benefits, but it won't alter your application's behavior. You can see our source, and detailed documentation, here: https://github.com/oslabs-beta/hacheQL , and we are on npm here: https://www.npmjs.com/package/hacheql.
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
Hurl.it is back – Make HTTP Requests
JSFiddle for HTTP requests
RequestWatch – Inspect HTTP Requests
Memento, a devtool for caching HTTP requests while developing
Requests, go HTTP requests for rodents
A HTTP requests inspection tool
Golongpoll – Go HTTP longpolling library
Restling – Promise based asynchronous http requests
Inspect http requests on the cloud
Restful.link – inspect HTTP requests