Ha

HacheQL, a lightweight library to make GraphQL requests HTTP-cacheable

Hacker News

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 card

Actual performance

2points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: using, code, open · Missing: mac, agents, macos
75%75% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: open source, ide, io · Missing: https docs, excited, just released
74%74% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersFits the IH revenue-focused audience · Strong signals: compatible · Missing: supports, reddit linkedin, podcasting
65%65% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
40%40% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
35%35% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
11%11% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Hu
Hurl.it is back – Make HTTP Requests70%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Hurl.it is back – Make HTTP Requests

Hacker News73
JS
JSFiddle for HTTP requests70%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

JSFiddle for HTTP requests

Hacker News10
Re
RequestWatch – Inspect HTTP Requests68%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

RequestWatch – Inspect HTTP Requests

Hacker News3
Me
Memento, a devtool for caching HTTP requests while developing61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Memento, a devtool for caching HTTP requests while developing

Hacker News1
Re
Requests, go HTTP requests for rodents67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Requests, go HTTP requests for rodents

Hacker News4
cRequest
cRequest38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A HTTP requests inspection tool

Indie Hackers1apis
Go
Golongpoll – Go HTTP longpolling library62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Golongpoll – Go HTTP longpolling library

Hacker News23
Re
Restling – Promise based asynchronous http requests71%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Restling – Promise based asynchronous http requests

Hacker News3
In
Inspect http requests on the cloud67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Inspect http requests on the cloud

Hacker News1
Re
Restful.link – inspect HTTP requests63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Restful.link – inspect HTTP requests

Hacker News2