The official Next.js 14 caching docs blur two different layers (Request Memoization and the persistent Data Cache), which makes it easy to assume the wrong thing. I spun up a test branch to see what actually runs at request time.

1. POST requests do hit the Data Cache

The Request Memoization docs note that POST and DELETE are not memoized, which is easy to misread as "Next.js won't cache GraphQL POST requests." In practice, Next.js 14's Data Cache caches fetch calls regardless of method:

const response = await fetch(uri, {
  method: "POST",
  // ...
});

With Next.js fetch cache logging enabled (logging: { fetches: { fullUrl: true } }), repeated loads logged POST <uri> 200 in 2ms (cache hit).

2. How headers(), cookies(), and searchParams cascade

Calling a dynamic function (headers(), cookies(), searchParams) opts that Server Component out of automatic Data Cache (Cache skipped reason: (auto no cache)), with three important scope rules:

  • Calling headers() inside generateMetadata does not disable caching in the page component.
  • Calling headers() in a parent Server Component disables auto-caching in its child Server Components too.
  • Calling headers() in a child Server Component does not disable auto-caching in its parent components.

3. Re-enabling caching explicitly with revalidate

Even inside a dynamic route that reads headers() or cookies(), adding next: { revalidate } opts that specific fetch back into the Data Cache:

const response = await fetch(uri, {
  next: { revalidate: 3600 },
  method: "POST",
  // ...
});

Instead of guessing from the docs, turn on Next.js fetch cache logging and check (cache hit) vs (cache skip) per route directly.