Origin fetch settings

更新时间:
复制 MD 格式

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 host

Origin protocol policy

Uses the same protocol as the client request for origin fetch. Applies to both dynamic and static resources.

Configure an origin protocol policy

Private OSS bucket access

Accelerates access to OSS buckets with private ACLs.

Private bucket back-to-origin

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.

Configure origin SNI

Origin request timeout

Sets how long a POP waits for an origin server response before closing the connection.

Configure a timeout period for origin HTTP requests

Advanced origin fetch rules

Routes requests to different origin servers based on headers, query strings, request parameters, paths, or cookies.

Advanced origin

Origin 301/302 redirection

POPs follow HTTP 301/302 redirects from your origin server instead of returning the status code to clients.

Configure origin 301/302 redirection

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.

Configure origin fetch over IPv6

HTTP request header rewrite

Rewrites HTTP headers in requests before they reach origin servers.

Configure HTTP request headers

HTTP response header rewrite

Rewrites HTTP headers in responses from origin servers.

Configure HTTP response headers

Rewrite URLs in origin requests

Rewrites URLs in requests before they reach origin servers.

Rewrite URLs in origin requests