We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b8cd56 commit c78c53fCopy full SHA for c78c53f
apps/docs/content/zh-hans/docs/02-pages/04-api-reference/03-functions/get-server-side-props.mdx
@@ -2,7 +2,7 @@
2
source-updated-at: 2025-05-16T04:52:11.000Z
3
translation-updated-at: 2025-05-19T23:07:03.507Z
4
title: getServerSideProps
5
-description: `getServerSideProps` 的 API 参考文档。了解如何在 Next.js 中通过每次请求获取数据。
+description: API `getServerSideProps` 的参考文档。了解如何在 Next.js 中通过每次请求获取数据。
6
---
7
8
当从页面导出一个名为 `getServerSideProps` (服务端渲染 (SSR)) 的函数时,Next.js 会在每次请求时使用该函数返回的数据预渲染此页面。如果您需要获取频繁变化的数据,并希望页面展示最新内容时,这个功能非常有用。
0 commit comments