Hey Folks! Prisma seems really great, I'm curious ...
# orm-help
d
Hey Folks! Prisma seems really great, I'm curious though, does Prisma have any way to cache queries in some faster store such as Redis? Couldn't find anything on GH and it didn't seem like Prisma middleware were meant for this.
j
Not yet.
With middlewares you could probably build a caching layer though, or are you missing something?
d
Makes sense. It does seem possible to have a cache layer. But it wasn't in the "use cases" section of the middleware docs, and given that it's a fairly common feature I figured it would be mentioned.
Ultimately it's not a big deal for the project I'm planning to adopt Prisma on, Postgres perf is more than sufficient for now, I just thought it'd be nice
j
Absolutely
Opened a PR to make the docs a bit clearer that those are just possible use cases and examples that should help to get users going.
👍 1
r
@David 👋 A community member created this that you can check out: https://www.npmjs.com/package/prisma-lrucache-middleware
d
Looks pretty cool, ty
👍 1