Here's a high-level overview of the different caching mechanisms and their purpose:
By default, Next.js will cache as much as possible to improve performance and reduce cost. This means routes are statically rendered and data requests are cached unless you opt out.
- Request Memoization
- Data Cache
- Full Route Cache
- Router Cache