From 28d094200cf31260b7f1d61bde9181a822100cfb Mon Sep 17 00:00:00 2001 From: "cinwell.li" Date: Wed, 22 May 2019 15:38:50 +0800 Subject: [PATCH 1/2] docs: about cache --- docs/configuration.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/configuration.md b/docs/configuration.md index ba48475..a51a8bc 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -454,6 +454,18 @@ window.$docsify = { }; ``` +Such as setting the cache + +```js +window.$docsify = { + requestHeaders: { + 'cache-control': 'max-age=600' + } +}; +``` + + + ## ext - type: `String` From 8ea4865c84e56a01dc07bb027cf748363e1b34aa Mon Sep 17 00:00:00 2001 From: Parkjunwoo Date: Tue, 18 Jun 2019 00:30:43 +0900 Subject: [PATCH 2/2] Fix typo --- docs/deploy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/deploy.md b/docs/deploy.md index 7d47e0f..a879f2e 100644 --- a/docs/deploy.md +++ b/docs/deploy.md @@ -15,7 +15,7 @@ It is recommended that you save your files to the `./docs` subfolder of the `mas ![github pages](_images/deploy-github-pages.png) !> You can also save files in the root directory and select `master branch`. -You'll need to place a `.nojekyll` file in the deploy location (such as `/docs` or the gh-pages branch +You'll need to place a `.nojekyll` file in the deploy location (such as `/docs` or the gh-pages branch) ## GitLab Pages