Prisma · Arazzo Workflow
Prisma Accelerate Cached Query then Invalidate
Version 1.0.0
Run a cached query through the Accelerate proxy, then invalidate the cache entries tagged by that query.
Provider
Workflows
query-and-invalidate
Execute a tagged cached query through Accelerate and then invalidate its cache tags.
Runs a proxied query with a cache strategy carrying cache tags, then invalidates those tags so future reads bypass the cache.
1
executeQuery
executeQuery
Execute the Prisma query through the Accelerate proxy with a cache strategy that applies the supplied TTL and cache tags.
2
invalidateTags
invalidateCacheByTags
Invalidate the cache entries tagged by the query so subsequent reads refetch fresh data from the database.