no cache option

This commit is contained in:
JMARyA 2024-04-10 10:24:56 +02:00
parent 8dd8bc8033
commit 50f9852cc9
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
6 changed files with 32 additions and 13 deletions

View file

@ -1,4 +1,5 @@
# Mirrors to fetch from
mirrors = [
"https://mirror.leaseweb.net",
"https://geo.mirror.pkgbuild.com",
@ -6,5 +7,9 @@ mirrors = [
"https://archlinux.thaller.ws"
]
# Local cache directory
cache_dir = "./data"
#ttl = "3h"
#ttl = "3h"
# Regex for paths which will never be served from cache
no_cache = '.*(?:db|db\.sig)$'