From 4fbe5b471cc027b64e53500c3ecb6e5a0cc87e29 Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Mon, 20 Sep 2021 01:36:31 +0000 Subject: [PATCH] Update README --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4bb2556..1a010dd 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,10 @@ log_level: info upload_path: ~/mango/uploads plugin_path: ~/mango/plugins download_timeout_seconds: 30 +library_cache_path: ~/mango/library.yml.gz +cache_enabled: false +cache_size_mbs: 50 +cache_log_enabled: true disable_login: false default_username: "" auth_proxy_header_name: "" @@ -97,12 +101,12 @@ mangadex: download_queue_db_path: ~/mango/queue.db chapter_rename_rule: '[Vol.{volume} ][Ch.{chapter} ]{title|id}' manga_rename_rule: '{title}' - subscription_update_interval_hours: 24 ``` - `scan_interval_minutes`, `thumbnail_generation_interval_hours` and `db_optimization_interval_hours` can be any non-negative integer. Setting them to `0` disables the periodic tasks - `log_level` can be `debug`, `info`, `warn`, `error`, `fatal` or `off`. Setting it to `off` disables the logging - You can disable authentication by setting `disable_login` to true. Note that `default_username` must be set to an existing username for this to work. +- By setting `cache_enabled` to `true`, you can enable an experimental feature where Mango caches library metadata to improve page load time. You can further fine-tune the feature with `cache_size_mbs` and `cache_log_enabled`. ### Library Structure