update cache pages
This commit is contained in:
@@ -43,7 +43,6 @@ The specific principle of optimistic caching can refer to (RFC 8767) (https://ww
|
||||
|
||||
The process for SmartDNS to handle expired cache is as follows:
|
||||
|
||||
|
||||
```mermaid
|
||||
|
||||
%%{init: {'theme':'forest'}}%%
|
||||
@@ -107,3 +106,11 @@ Therefore, it is a good practice to enable expired cache in the main scenario.
|
||||
```shell
|
||||
domain-rules /example.com/ -no-cache
|
||||
```
|
||||
|
||||
## Set cache save interval
|
||||
|
||||
1. To avoid losing the cache due to system or process restart, you can configure SmartDNS to periodically save the cache file.
|
||||
|
||||
```shell
|
||||
cache-checkpoint-time 86400
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user