From db7c31c2c27141fdc892967112546610924b4530 Mon Sep 17 00:00:00 2001 From: Gaius Date: Mon, 21 Oct 2024 18:09:11 +0800 Subject: [PATCH] feat: add prefetch comment for dfdaemon config (#173) Signed-off-by: Gaius --- docs/reference/configuration/client/dfdaemon.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/reference/configuration/client/dfdaemon.md b/docs/reference/configuration/client/dfdaemon.md index b4cc978..263db56 100644 --- a/docs/reference/configuration/client/dfdaemon.md +++ b/docs/reference/configuration/client/dfdaemon.md @@ -202,6 +202,9 @@ proxy: # disableBackToSource indicates whether disable to download back-to-source when download failed. disableBackToSource: false # prefetch pre-downloads full of the task when download with range request. + # X-Dragonfly-Prefetch priority is higher than prefetch in config. + # If the value is "true", the range request will prefetch the entire file. + # If the value is "false", the range request will fetch the range content. prefetch: false # readBufferSize is the buffer size for reading piece from disk, default is 32KB. readBufferSize: 32768