Skip to content

Commit 3416fa0

Browse files
authored
Update README.md
1 parent a528db8 commit 3416fa0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,9 @@ Zip::create("package.zip")
234234
->saveToDisk("s3", "folder");
235235
```
236236

237+
> [!WARNING]
238+
> S3 has a limit of 5GB when objects are saved using a stream the way we are doing. Saving your zip to S3 will fail if it is over this limit. If this is an issue for your use-case, we recommend saving to local disk first and then separately using the S3 SDK to store the file using multipart.
239+
237240
## Caching zip while still streaming download
238241

239242
What if you have a lot of users requesting the same zip payload? It might be nice to stream out the zip while _also_ caching it to disk for the future.

0 commit comments

Comments
 (0)