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
calebruba8mo ago
how are you generating the random fact? Are you using an LLM for this?
AN
ANOP8mo ago
No, from a database

Did you find this page helpful?