feat: on memory cache if less than 4k or specified cache size.
This commit is contained in:
parent
32b173966c
commit
5f6758ff9e
5 changed files with 82 additions and 29 deletions
|
|
@ -110,6 +110,7 @@ max_idle_timeout = 10 # secs. 0 represents an infinite timeout.
|
|||
|
||||
# If this specified, file cache feature is enabled
|
||||
[experimental.cache]
|
||||
cache_dir = './cache' # optional. default is "./cache" relative to the current working directory
|
||||
max_cache_entry = 1000 # optional. default is 1k
|
||||
max_cache_each_size = 65535 # optional. default is 64k
|
||||
cache_dir = './cache' # optional. default is "./cache" relative to the current working directory
|
||||
max_cache_entry = 1000 # optional. default is 1k
|
||||
max_cache_each_size = 65535 # optional. default is 64k
|
||||
max_cache_each_size_onmemory = 4096 # optional. default is 4k
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue