Chapter 757: Asset uploads
Core Idea
If the user drops in any image, audio, video or GIF, they are uploaded to cloud storage so that they remain accessible during editing and rendering. By default, S3 is used for cloud storage, which requires some setup.
Key Concepts
- Setup
- Limits
- S3 Transfer acceleration (recommended)
- See also
Code Examples
[
{
"AllowedHeaders": ["*"],
"AllowedMethods": ["PUT", "GET", "HEAD"],
"AllowedOrigins": ["*"],
"ExposeHeaders": [],
"MaxAgeSeconds": 3000
}
]
- What it demonstrates: Usage pattern for Asset uploads from the official docs.
Key Takeaways
- Understand setup when working with Asset uploads.
- Understand limits when working with Asset uploads.
- Understand s3 transfer acceleration (recommended) when working with Asset uploads.
- Understand see also when working with Asset uploads.
Connects To
- Asset Cleanup: related page in the Editor Starter Template section.
- Backend Routes: related page in the Editor Starter Template section.
- Before you buy: related page in the Editor Starter Template section.