mirror of
https://github.com/wahyd4/docsify.git
synced 2026-08-09 05:16:06 +10:00
docs: about cache (#854)
This commit is contained in:
@@ -480,6 +480,18 @@ window.$docsify = {
|
||||
};
|
||||
```
|
||||
|
||||
Such as setting the cache
|
||||
|
||||
```js
|
||||
window.$docsify = {
|
||||
requestHeaders: {
|
||||
'cache-control': 'max-age=600'
|
||||
}
|
||||
};
|
||||
```
|
||||
|
||||
|
||||
|
||||
## ext
|
||||
|
||||
- type: `String`
|
||||
|
||||
Reference in New Issue
Block a user