tencent cloud

All product documents
Content Delivery Network
Merging Requests
Last updated: 2024-12-30 21:39:18
Merging Requests
Last updated: 2024-12-30 21:39:18
Origin-pull merging can help increase the cache hit rate, so as to lower the load pressure during peak hours like big online promotion events.

Description

When multiple users request for the same resource that is not cached on the cache node, all requests are forward to the origin, leading to soaring bandwidth and connections. A slow or failed origin response that could affect access experience may even occur if the origin server reaches the performance limit. When origin-pull merge is enabled, only one request is forwarded to the origin to retrieve the requested resource. Other similar requests are hold till the resource is ready on the cache node. The following figure shows how this feature works. Three requests are sent to the same cache node requesting for the same resource. The first request is forwarded to the origin. The resource is then returned to the requester and cached on the cache node. Now, other awaiting requests can get the resource from the cache.



Limits

1. It only supports response status code 200, 206 and 304.
2. Unsupported caching headers: "cache-control: no-cache", "no-store", "private" and "pragma: no-cache".
3. Unsupported data transfer methods: Chunked transfer encoding.
4. Supported HTTP request methods: GET.
5. "content-length" and "transfer-encoding" must be present in the HTTP response header.
6. Unsupported compression methods: Gzip and Brotli.

Configuration

1. Log in to the CDN console.
2. Click Domain Management on the left sidebar to enter the domain name management list.
3. Select the target domain name and click Manage to enter the domain name configuration page.
4. Click the Origin-pull Configuration tab and find Origin-pull merge.
5. Origin-pull merge is disabled by default. You can enable it as needed.

Configuration Sample

The following configuration sample shows how to enable origin-pull merge.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon