Caching queries (/docs/accelerate/caching)
For the complete Prisma documentation index, see llms.txt. A markdown version of any docs page is available by appending
.mdto its URL.
Learn everything you need to know to use Accelerate's global database caching
Location: Accelerate > Caching queries
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.
Related pages
Section titled “Related pages”Compare Accelerate: Learn how Prisma Accelerate compares to other connection poolers like pgbouncerConnection Pooling: Learn about everything you need to know to use Accelerate's connection poolingEvaluating: Learn about evaluating Prisma AccelerateExamples: Check out ready-to-run examples for Prisma AccelerateGetting started: Learn how to get up and running with Prisma Accelerate