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: packages/s3-store/README.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,6 @@ Options to pass to the AWS S3 SDK.
71
71
Checkout the [`S3ClientConfig`](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-s3/interfaces/s3clientconfig.html)
72
72
docs for the supported options. You need to at least set the `region`, `bucket` name, and your preferred method of authentication.
73
73
74
-
75
74
#### `options.expirationPeriodInMilliseconds`
76
75
77
76
Enables the expiration extension and sets the expiration period of an upload url in milliseconds.
@@ -84,8 +83,13 @@ If you are using certain features like the expiration extension and your provide
84
83
85
84
#### `options.cache`
86
85
87
-
An optional cache implementation. If not provided, the store will use an in-memory cache (`MemoryConfigStore`).
88
-
When running multiple instances of the server, you need to provide a cache implementation that is shared between all instances like the `RedisConfigStore`.
86
+
An optional cache implementation ([`KvStore`][]).
87
+
88
+
Default uses an in-memory cache (`MemoryKvStore`).
89
+
When running multiple instances of the server,
90
+
you need to provide a cache implementation that is shared between all instances like the `RedisKvStore`.
91
+
92
+
See the exported [KV stores][kvstores] from `@tus/server` for more information.
89
93
90
94
## Extensions
91
95
@@ -181,3 +185,5 @@ See [`contributing.md`](https://github.com/tus/tus-node-server/blob/main/.github
0 commit comments