You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/experiments/remote_taskfiles.mdx
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,6 +112,9 @@ and look for a cached copy instead. This timeout can be configured by setting
112
112
the `--timeout` flag and specifying a duration. For example, `--timeout 5s` will
113
113
set the timeout to 5 seconds.
114
114
115
+
By default, the cache is stored in the Task temp directory, represented by the `TASK_TEMP_DIR` [environment variable](../reference/environment.mdx)
116
+
You can override the location of the cache by setting the `TASK_REMOTE_DIR` environment variable. This way, you can share the cache between different projects.
|`TASK_TEMP_DIR`|`.task`| Location of the temp dir. Can relative to the project like `tmp/task` or absolute like `/tmp/.task` or `~/.task`. |
14
+
|`TASK_REMOTE_DIR`|`TASK_TEMP_DIR`| Location of the remote temp dir (used for caching). Can relative to the project like `tmp/task` or absolute like `/tmp/.task` or `~/.task`. |
0 commit comments