From 28d094200cf31260b7f1d61bde9181a822100cfb Mon Sep 17 00:00:00 2001 From: "cinwell.li" Date: Wed, 22 May 2019 15:38:50 +0800 Subject: [PATCH] docs: about cache --- docs/configuration.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/configuration.md b/docs/configuration.md index ba4847598..a51a8bcbc 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`