When a CDN point of presence (POP) doesn't have a requested resource cached, it retrieves the resource from your origin server — this is an origin fetch. An origin fetch also occurs when you run a prefetch task. Alibaba Cloud CDN gives you precise control over how POPs communicate with your origin: which protocol to use, how to rewrite URLs and headers, how long to wait before timing out, and how to route requests across multiple origins.
ApsaraVideo VOD accelerated domain names support the following origin fetch features.
|
Feature |
Description |
References |
|
Origin host |
When multiple domain names or sites share the same origin server IP address, set the HOST header to direct CDN origin fetch requests to the correct site. |
|
|
Origin protocol policy |
Uses the same protocol as the client request for origin fetch. Applies to both dynamic and static resources. |
|
|
Private OSS bucket access |
Accelerates access to OSS buckets with private ACLs. |
|
|
Origin SNI |
When CDN POPs access your origin over HTTPS and the origin IP hosts multiple domain names, configure SNI to specify which domain name the POPs access. |
|
|
Origin request timeout |
Sets how long a POP waits for an origin server response before closing the connection. |
|
|
Advanced origin fetch rules |
Routes requests to different origin servers based on headers, query strings, request parameters, paths, or cookies. |
|
|
Origin 301/302 redirection |
POPs follow HTTP 301/302 redirects from your origin server instead of returning the status code to clients. |
|
|
Configure origin fetch over IPv6 |
Enables CDN POPs to fetch content from origin servers over IPv6. Supports policies such as IPv6-only, matching the client IP version, and IPv4/IPv6 load balancing. |
|
|
HTTP request header rewrite |
Rewrites HTTP headers in requests before they reach origin servers. |
|
|
HTTP response header rewrite |
Rewrites HTTP headers in responses from origin servers. |
|
|
Rewrite URLs in origin requests |
Rewrites URLs in requests before they reach origin servers. |