docs: about cache
This commit is contained in:
parent
676f84cffa
commit
28d094200c
1 changed files with 12 additions and 0 deletions
|
|
@ -454,6 +454,18 @@ window.$docsify = {
|
|||
};
|
||||
```
|
||||
|
||||
Such as setting the cache
|
||||
|
||||
```js
|
||||
window.$docsify = {
|
||||
requestHeaders: {
|
||||
'cache-control': 'max-age=600'
|
||||
}
|
||||
};
|
||||
```
|
||||
|
||||
|
||||
|
||||
## ext
|
||||
|
||||
- type: `String`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue