Skip to content

Bulk asynchronous downloader for multiple file hosts

docs: add cache entries

NTFSvolume384ac3ca5c7c
diff --git a/docs/reference/configuration-options/global-settings/rate-limiting-options.md b/docs/reference/configuration-options/global-settings/rate-limiting-options.md
index e8d4fc834..dc53ff87e 100644
--- a/docs/reference/configuration-options/global-settings/rate-limiting-options.md
+++ b/docs/reference/configuration-options/global-settings/rate-limiting-options.md
@@ -74,3 +74,35 @@ Some domains have internal limits set by the program, such as `bunkrr`, `cyberfi
| `ByteSize` | `0`|
This is the max rate of downloading in bytes (per second) for all downloads combined. Set to `0` to disable
+
+## `file_host_cache_expire_after`
+
+| Type | Default |
+|----------------|----------|
+| `timedelta`, `str` or `int` | `30 days`|
+
+Cyberdrop-DL caches the requests made to any website. This setting controls how long responses to file host websites are stored before expiring.
+
+A `timedelta` input is expected to be a valid ISO 8601 timespan, ex: `P10DT2H30M10S`
+
+A `str` input is expected to be in the format; `<value> <unit>`, ex: `10 days`.
+
+### Valid `str` units:
+- `year(s)`
+- `week(s)`
+- `day(s)`
+- `hour(s)`
+- `minute(s)`
+- `second(s)`
+- `millisecond(s)`
+- `microsecond(s)`
+
+A `int` input is assumed to be the number of days
+
+## `forum_cache_expire_after`
+
+| Type | Default |
+|----------------|----------|
+| `timedelta`, `str` or `int` | `4 weeks`|
+
+Same as `file_host_cache_expire_after` but applied to forums requests.