feature: added caching
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user