How to implement cache in an api that return a random fact

I want to implement cache in an api that return a random fact I’m using node.js and hono and prisma
2 Replies
calebruba
calebruba7mo ago
how are you generating the random fact? Are you using an LLM for this?
AN
ANOP7mo ago
No, from a database
Want results from more Discord servers?
Add your server