Configuration

Development Server Component fetch reuse

Experimental development HMR cache may reuse Server Component fetch responses even when cache:no-store is requested. The reviewed docs describe clearing on navigation or full reload. Disable the option for a controlled freshness investigation; do not infer production cache behavior from HMR. Source: https://nextjs.org/docs/app/api-reference/config/next-config-js/serverComponentsHmrCache. Documentation-reviewed illustrative draft; installed declarations and runtime not verified.

Formal Syntax & Structure

nextjs syntaxnextjs
experimental.serverComponentsHmrCache

Working Example

Example Snippetnextjs
export default {experimental:{serverComponentsHmrCache:false}}
Next.js Reference