mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +00:00
docs: remove confusing reference to 'SPA' (#28991)
This commit is contained in:
parent
f4198d8ad9
commit
b267962a94
@ -136,7 +136,7 @@ export default defineNuxtConfig({
|
|||||||
|
|
||||||
The different properties you can use are the following:
|
The different properties you can use are the following:
|
||||||
- `redirect: string`{lang=ts} - Define server-side redirects.
|
- `redirect: string`{lang=ts} - Define server-side redirects.
|
||||||
- `ssr: boolean`{lang=ts} - Disables server-side rendering for sections of your app and make them SPA-only with `ssr: false`
|
- `ssr: boolean`{lang=ts} - Disables server-side rendering of the HTML for sections of your app and make them render only in the browser with `ssr: false`
|
||||||
- `cors: boolean`{lang=ts} - Automatically adds cors headers with `cors: true` - you can customize the output by overriding with `headers`
|
- `cors: boolean`{lang=ts} - Automatically adds cors headers with `cors: true` - you can customize the output by overriding with `headers`
|
||||||
- `headers: object`{lang=ts} - Add specific headers to sections of your site - for example, your assets
|
- `headers: object`{lang=ts} - Add specific headers to sections of your site - for example, your assets
|
||||||
- `swr: number | boolean`{lang=ts} - Add cache headers to the server response and cache it on the server or reverse proxy for a configurable TTL (time to live). The `node-server` preset of Nitro is able to cache the full response. When the TTL expired, the cached response will be sent while the page will be regenerated in the background. If true is used, a `stale-while-revalidate` header is added without a MaxAge.
|
- `swr: number | boolean`{lang=ts} - Add cache headers to the server response and cache it on the server or reverse proxy for a configurable TTL (time to live). The `node-server` preset of Nitro is able to cache the full response. When the TTL expired, the cached response will be sent while the page will be regenerated in the background. If true is used, a `stale-while-revalidate` header is added without a MaxAge.
|
||||||
|
Loading…
Reference in New Issue
Block a user