fix: workaround long load times with naive in-memory caching

This commit is contained in:
2025-07-07 11:34:57 +02:00
parent 3253447c72
commit 51b94842e3
3 changed files with 15 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ video_storage_directory_path = "/path/to/videos/" # Path to video vault.
is_proxied = false # Set to true if running behind reverse proxy.
public_facing_url = "http://localhost:5000/" # Used for URL rewriting. Note the trailing backslash /.
debug = false # Whether to print verbose, debug info on API endpoints.
cache = true # Whether to cache requests for 3 hours (temporary solution to long load times).
[api]
api_key = "" # Leave empty API key for public access to non-sensitive backend