Skip to content

Commit

Permalink
docs: document metaChunk
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Mar 21, 2024
1 parent 38ac579 commit 0b68382
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/reference/site-config.md
Expand Up @@ -471,6 +471,13 @@ export default {
}
```

### metaChunk <Badge type="warning" text="experimental" />

- Type: `boolean`
- Default: `false`

When set to `true`, extract pages metadata to a separate JavaScript chunk instead of inlining it in the initial HTML. This makes each page's HTML payload smaller and makes the pages metadata cacheable, thus reducing server bandwidth when you have many pages in the site.

### mpa <Badge type="warning" text="experimental" />

- Type: `boolean`
Expand Down

0 comments on commit 0b68382

Please sign in to comment.