cache ttl
This commit is contained in:
parent
b0ce294ec8
commit
2cc0bfbb09
3 changed files with 37 additions and 5 deletions
|
@ -9,7 +9,9 @@ mirrors = [
|
|||
|
||||
# Local cache directory
|
||||
cache_dir = "./data"
|
||||
#ttl = "3h"
|
||||
|
||||
# Time in minutes before a file is counted as out of date
|
||||
ttl = "180"
|
||||
|
||||
# Regex for paths which will never be served from cache
|
||||
no_cache = '.*(?:db|db\.sig)$'
|
Loading…
Add table
Add a link
Reference in a new issue