Ref: https://learn.cantrill.io/courses/1820301/lectures/41301526
CF Origins and Origin Groups
-
đź”§Â CF origins store content that CF distributes via edge locations
- If CF receives request & object is stale or not cached → origin fetch
- Origin group → more resiliency
- Several origins in group in case main origin is not available
-
Defined at behavior level
-
Types of origins
- S3 origins
- S3 buckets
- AWS media package channel endpoints
- AWS media store container endpoints
- **Custom origins**
- âť—Â Available features & restrictions differ between S3 origins and custom origins
-
‼️ An S3 bucket configured with static website can be either an S3 origin or a custom origin!!
- Origin specified with S3 bucket → S3 origin
- Origin specified with DNS name of the S3 static website hosting endpoint → custom origin
-
Features common to both S3 and custom origins:

- Origin domain → points directly at origin
- AWS origin (e.g. S3 bucket) or DNS name
- Origin path → use particular path inside origin
- e.g.
/img
inside S3 bucket to access images
CF - S3 Origins
CF - Custom Origins
CF - S3 Origins vs Custom Origins - Summary Table