Appends a content hash to uploaded filenames so CDN caching can run longer
S3 Upload
Sends uploaded files to Amazon S3 buckets instead of the server disk
Installation
pnpm add payload-s3-upload About
S3 Upload stores files from Payload upload collections in an Amazon S3 bucket instead of on the server's file system. Each collection picks its own bucket and folder prefix, and can set object options such as public read access, so media from different collections can live in separate places.
Resized image variants are uploaded to the bucket too. The plugin does not build public URLs for each size on its own, so you add a read hook on the collection to return the address of the main file and its variants.
Package info
- Package name
payload-s3-upload- Latest version
2.1.1- Unpacked size
- 21 kB
- License
- MIT
- Weekly downloads
- 287
- Last publish
- May 16, 2023
More from jeanbmar
View profileSimilar adapters
More in StorageStores Payload upload files in Cloudflare R2 buckets instead of local disk
Stores collection uploads in Vercel Blob Storage instead of local disk
Stores Payload uploads in Google Cloud Storage buckets, with optional direct browser uploads
Stores Payload uploads in UploadThing file hosting
Stores Payload uploads in Azure Blob Storage, with optional direct browser uploads
Stores Payload uploads in Amazon S3 buckets with optional presigned downloads