Data Cache is a cache storage that stores the return of a function call or a data fetching operations in the server. The Data Cache persists the result of those function across incoming server requests and deployments by storing it into a persistent caching semantics made by Next.js.

Currently, there are two ways to store data in the Data Cache:

Usage Notes