docs: about cache

This commit is contained in:
cinwell.li 2019-05-22 15:38:50 +08:00 committed by GitHub
commit 28d094200c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -454,6 +454,18 @@ window.$docsify = {
};
```
Such as setting the cache
```js
window.$docsify = {
requestHeaders: {
'cache-control': 'max-age=600'
}
};
```
## ext
- type: `String`