From 0b68382121b60dc934d9b82c4d159638c3c74c55 Mon Sep 17 00:00:00 2001 From: Evan You Date: Thu, 21 Mar 2024 23:16:15 +0800 Subject: [PATCH] docs: document metaChunk --- docs/reference/site-config.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/reference/site-config.md b/docs/reference/site-config.md index ec853063..e11f42b9 100644 --- a/docs/reference/site-config.md +++ b/docs/reference/site-config.md @@ -471,6 +471,13 @@ export default { } ``` +### metaChunk + +- 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 - Type: `boolean`