LabscoMCP early access ↗

Work something out once — a slow call to another company's API, a heavy database query — and every later request in that part of the world gets the stored answer instead of doing the work again.

WHEN TO USE

SCOPE

USE FOR

  • Cache an expensive API response so every function in a region can reuse it.
  • Clear a whole batch of cached data the moment a CMS webhook fires.
  • Cut database load for data that many requests read over and over again.
  • Share computed data between functions in the same region instead of recomputing it.

NOT FOR

  • Full-page rendering caches — that belongs to Next.js Cache Components instead.
  • Long-term persistent storage — use a database such as Neon or Upstash instead.
  • Caching a full response at the CDN — use Cache-Control headers instead.
  • Keeping state consistent across multiple regions — use a database instead.