From e33310f26351e25fda718a353f8b8e9ece0007b5 Mon Sep 17 00:00:00 2001 From: frosty Date: Tue, 10 Mar 2026 03:40:34 -0400 Subject: feature: added caching --- example-config.ini | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'example-config.ini') 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 -- cgit v1.2.3