Prisma ORM 8 is here.Read the docs

Caching queries

Learn everything you need to know to use Accelerate's global database caching

Prisma Accelerate provides global caching for read queries using TTL, Stale-While-Revalidate (SWR), or a combination of both. It works with your own database once you enable Accelerate in the Prisma Data Platform and configure it with your database. Prisma Postgres has no query cache of its own: a Prisma Postgres database uses this cache only through a hosted Accelerate connection. Accelerate, including those connections, will be retired on December 1, 2026; see Connect to Prisma Postgres without Accelerate.

Edit on GitHub

Last updated on