Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
cacheStrategy in local dev - Prisma
P
Prisma
•
2y ago
•
3 replies
zerokelvin
cacheStrategy in local dev
https://www.prisma.io/docs/accelerate/local-development#using-prisma-accelerate-client-extension-in-development-and-production
specifies how to use prisma accelerate client extension in local development
, but it
's incomplete
. Most of my prisma queries have the cacheStrategy property specified
. This works fine in production with the accelerate client
, but fails with the non
-accelerate client
.
Is the best practice here to just go through and comment out 50
+ instances of cacheStrategy before developing your app locally and then uncomment it later when pushing
?
Accelerate: Local development | Prisma Documentation
Learn how to use Prisma Accelerate in a development environment
.
Prisma
Join
The official Discord server of Prisma! Find us online at prisma.io
9,819
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
cacheStrategy is never
P
Prisma / help-and-questions
2y ago
Error running local prisma dev server
P
Prisma / help-and-questions
4mo ago
Prisma Migrations: local, dev and prod
P
Prisma / help-and-questions
17mo ago
how to develop accelerate on local machine
P
Prisma / help-and-questions
2y ago