cache ttl

This commit is contained in:
JMARyA 2024-04-15 09:42:08 +02:00
parent b0ce294ec8
commit 2cc0bfbb09
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
3 changed files with 37 additions and 5 deletions

View file

@ -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)$'