github.com/sagernet/sing-box@v1.9.0-rc.20/docs/configuration/experimental/cache-file.md (about) 1 --- 2 icon: material/new-box 3 --- 4 5 !!! question "Since sing-box 1.8.0" 6 7 !!! quote "Changes in sing-box 1.9.0" 8 9 :material-plus: [store_rdrc](#store_rdrc) 10 :material-plus: [rdrc_timeout](#rdrc_timeout) 11 12 ### Structure 13 14 ```json 15 { 16 "enabled": true, 17 "path": "", 18 "cache_id": "", 19 "store_fakeip": false, 20 "store_rdrc": false, 21 "rdrc_timeout": "" 22 } 23 ``` 24 25 ### Fields 26 27 #### enabled 28 29 Enable cache file. 30 31 #### path 32 33 Path to the cache file. 34 35 `cache.db` will be used if empty. 36 37 #### cache_id 38 39 Identifier in the cache file 40 41 If not empty, configuration specified data will use a separate store keyed by it. 42 43 #### store_fakeip 44 45 Store fakeip in the cache file 46 47 #### store_rdrc 48 49 Store rejected DNS response cache in the cache file 50 51 The check results of [Address filter DNS rule items](/configuration/dns/rule/#address-filter-fields) 52 will be cached until expiration. 53 54 #### rdrc_timeout 55 56 Timeout of rejected DNS response cache. 57 58 `7d` is used by default.