diff options
| author | frosty <gabriel@bwaaa.monster> | 2026-03-10 03:40:34 -0400 |
|---|---|---|
| committer | frosty <gabriel@bwaaa.monster> | 2026-03-10 03:40:34 -0400 |
| commit | e33310f26351e25fda718a353f8b8e9ece0007b5 (patch) | |
| tree | ac371b6c35bbdda348afbfcfd05ac5ee2c372ab7 /example-config.ini | |
| parent | a11bf8bb6c1baaef51c25d441f5348567280967b (diff) | |
| download | omnisearch-e33310f26351e25fda718a353f8b8e9ece0007b5.tar.gz | |
feature: added caching
Diffstat (limited to 'example-config.ini')
| -rw-r--r-- | example-config.ini | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/example-config.ini b/example-config.ini index 26385ac..dbc4f6b 100644 --- a/example-config.ini +++ b/example-config.ini @@ -1,7 +1,7 @@ [server] host = 0.0.0.0 port = 8000 - + [proxy] # Single proxy (comment out to use list_file instead) #proxy = "socks5://127.0.0.1:9050" @@ -14,3 +14,13 @@ port = 8000 # Randomize proxy credentials for each request #randomize_username = true #randomize_password = true + +[cache] +# Directory to store cached responses +#dir = /tmp/omnisearch_cache + +# Cache TTL for search results in seconds (default: 3600 = 1 hour) +#ttl_search = 3600 + +# Cache TTL for infobox data in seconds (default: 86400 = 24 hours) +#ttl_infobox = 86400 |
