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` diff --git a/docs/deploy.md b/docs/deploy.md index a879f2e..7d47e0f 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