Skip to content

Commit

Permalink
docs: remove outdated part about prerendering when ssr is off (#10775)
Browse files Browse the repository at this point in the history
  • Loading branch information
eltigerchino authored Sep 23, 2023
1 parent d92126e commit f9dbd96
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions documentation/docs/20-core-concepts/40-page-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@ Accessing [`url.searchParams`](load#using-url-data-url) during prerendering is f

Pages with [actions](form-actions) cannot be prerendered, because a server must be able to handle the action `POST` requests.

### Prerender and ssr

If you set the [ssr option](#ssr) to `false`, each request will result in the same empty HTML shell. Since this would result in unnecessary work, SvelteKit defaults to prerendering any pages it finds where `prerender` is not explicitly set to `false`.

### Route conflicts

Because prerendering writes to the filesystem, it isn't possible to have two endpoints that would cause a directory and a file to have the same name. For example, `src/routes/foo/+server.js` and `src/routes/foo/bar/+server.js` would try to create `foo` and `foo/bar`, which is impossible.
Expand Down

0 comments on commit f9dbd96

Please sign in to comment.