Functions

Server fetch

Server fetch returns a Response. Inspect status and validate the body; explicitly select freshness. In the disabled Cache Components lane, the default does not establish persistent caching; eligible routes may still prerender. Development HMR can reuse responses. Source: https://nextjs.org/docs/app/api-reference/functions/fetch

Formal Syntax & Structure

nextjs syntaxnextjs
fetch(url, options)

Working Example

Example Snippetnextjs
const response = await fetch(approvedUrl, { cache: "no-store" });
Next.js Reference