@nuxt/docs-nightly 5.0.0-29757407.3ffd5236 → 5.0.0-29758166.c429b54c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -204,6 +204,18 @@ The different properties you can use are the following:
204
204
  Routes using `isr` or `swr` also generate `_payload.json` files alongside HTML. Client-side navigation loads these cached payloads instead of re-fetching data. Read more about [payload extraction](/docs/4.x/getting-started/prerendering#payload-extraction).
205
205
  ::
206
206
 
207
+ ### Server Bundle Size with `ssr: false`
208
+
209
+ A route covered by `ssr: false` is only ever rendered in the browser, so Nuxt excludes its page component from the server bundle. This applies whenever the rules covering every path that reaches the page can be resolved at build time, including dynamic routes such as `pages/products/[id].vue` under a `/products/**` rule.
210
+
211
+ A page is kept in the server bundle when any path that reaches it might still be rendered on the server:
212
+
213
+ - a more specific rule re-enables SSR somewhere below the client-only one (`'/admin/**': { ssr: false }`{lang=ts} with `'/admin/report': { ssr: true }`{lang=ts})
214
+ - the page has an alias, or a child declared with an absolute path, that falls outside the client-only region
215
+ - the page is a parent shell rendering a child that is still server-rendered
216
+
217
+ This is a build-time optimization only; it does not change what the server sends to the browser.
218
+
207
219
  Whenever possible, route rules will be automatically applied to the deployment platform's native rules for optimal performances (Netlify and Vercel are currently supported).
208
220
 
209
221
  ::important
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/docs-nightly",
3
- "version": "5.0.0-29757407.3ffd5236",
3
+ "version": "5.0.0-29758166.c429b54c",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",