Skip to content

Commit 3377fb1

Browse files
th0rgallteemingc
andauthored
Apply suggestion from @teemingc
Co-authored-by: Tee Ming <[email protected]>
1 parent 38e6654 commit 3377fb1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

documentation/docs/20-core-concepts/40-page-options.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,9 @@ export const prerender = true;
117117

118118
## ssr
119119

120-
Normally, SvelteKit renders your page on the server first and sends that HTML to the client where it's [hydrated](glossary#Hydration). If you set `ssr` to `false`, it renders an empty 'shell' page instead. This is useful if your page is unable to be rendered on the server (because you use browser-only globals like `document` for example), but in most situations it's not recommended ([see appendix](glossary#SSR)).
120+
Normally, SvelteKit renders your page on the server before sending that HTML to the client where it's [hydrated](glossary#Hydration). This is also required for prerendering to save the full contents of a page.
121+
122+
If you set `ssr` to `false`, it renders an empty 'shell' page instead. This is useful if your page is unable to be rendered on the server (because you use browser-only globals like `document` for example), but in most situations it's not recommended ([see appendix](glossary#SSR)).
121123

122124
```js
123125
/// file: +page.js

0 commit comments

Comments
 (0)