@nuxt/docs-nightly 4.3.1-29500439.2f599685 → 4.3.1-29500674.f2df7640

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.
@@ -49,6 +49,14 @@ Working of the Nitro crawler:
49
49
 
50
50
  This is important to understand since pages that are not linked to a discoverable page can't be pre-rendered automatically.
51
51
 
52
+ ### Payload Extraction
53
+
54
+ Nuxt generates `_payload.json` alongside HTML for:
55
+ - Prerendered routes (at build time)
56
+ - ISR/SWR routes (on first request)
57
+
58
+ Payloads contain serialized data from `useAsyncData` and `useFetch`. Client-side navigation loads these cached payloads instead of re-fetching data. Configure dynamic routes like `pages/[...slug].vue` with route rules: `'/**': { isr: true }`.
59
+
52
60
  ::read-more{to="/docs/4.x/api/commands/generate#nuxt-generate"}
53
61
  Read more about the `nuxt generate` command.
54
62
  ::
@@ -193,6 +193,10 @@ The different properties you can use are the following:
193
193
  - `noScripts: boolean`{lang=ts} - Disables rendering of Nuxt scripts and JS resource hints for sections of your site.
194
194
  - `appMiddleware: string | string[] | Record<string, boolean>`{lang=ts} - Allows you to define middleware that should or should not run for page paths within the Vue app part of your application (that is, not your Nitro routes)
195
195
 
196
+ ::note
197
+ Routes using `isr` or `swr` also generate `_payload.json` files alongside HTML. Client-side navigation loads these cached payloads instead of re-fetching data. Configure dynamic routes like `pages/[...slug].vue` with glob patterns: `'/**': { isr: true }`.
198
+ ::
199
+
196
200
  Whenever possible, route rules will be automatically applied to the deployment platform's native rules for optimal performances (Netlify and Vercel are currently supported).
197
201
 
198
202
  ::important
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/docs-nightly",
3
- "version": "4.3.1-29500439.2f599685",
3
+ "version": "4.3.1-29500674.f2df7640",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",