Skip to content

Commit a096e3e

Browse files
yousefdawood7graphite-app[bot]icyJoseph
authored
Update generate-metadata.mdx (#81853)
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com> Co-authored-by: Joseph <[email protected]> Co-authored-by: Joseph <[email protected]>
1 parent f9de66e commit a096e3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/01-app/03-api-reference/04-functions/generate-metadata.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ For type completion of `params` and `searchParams`, you can type the first argum
105105
> - You cannot export both the `metadata` object and `generateMetadata` function from the same route segment.
106106
> - `fetch` requests inside `generateMetadata` are automatically [memoized](/docs/app/guides/caching#request-memoization) for the same data across `generateMetadata`, `generateStaticParams`, Layouts, Pages, and Server Components.
107107
> - Resolving `generateMetadata` is part of rendering the page. If the page can be pre-rendered and `generateMetadata` doesn't introduce dynamic behavior, its result is included in the page’s initial HTML.
108+
> - `generateMetadata` [can stream results](/docs/app/api-reference/functions/generate-metadata#streaming-metadata) to improve page load performance.
108109
> - React [`cache` can be used](/docs/app/guides/caching#react-cache-function) if `fetch` is unavailable.
109110
> - [File-based metadata](/docs/app/api-reference/file-conventions/metadata) has the higher priority and will override the `metadata` object and `generateMetadata` function.
110111

0 commit comments

Comments
 (0)