upstashCache()
helper to easily connect with Upstash Redis. To prevent surprises, the cache is always opt-in by default. Nothing is cached until you opt-in for a specific query or enable global caching.
.$withCache()
.
global: true
, all queries will read from cache by default.