Skip to content

CDN Guide » Origin Shield

Last updated: July 10, 2020

Introduction to Origin Shield

Origin Shield is an extra caching layer between the CDN edge servers and your origin. The shield helps offload your origin and speed up cache miss responses. Another benefit of Origin Shield is: if you want to whitelist IPs of the CDN in the firewall on your origin, you only need to whitelist a few IPs instead of many.

Diagram: CDN Origin Shield

One (or multiple) of the POPs of the CDN will act as the shield. When a CDN edge server gets a request from a user and can't satisfy the request from cache, the edge server will fetch the object from the shield POP rather than pulling from the customer origin directly.

CDNs and Origin Shield

Origin Shield is not the same thing on all CDNs that have this feature. For example, Edgio provides its customers the option to assign a single POP as the shield or assign shield POP per region (US, EU, Asia, ...), while other CDNs like StackPath allow the customer to have a single POP and this can be only a POP in US.
Read on to learn more about the differences between CDNs.

Available
Does the CDN provide Origin Shield? Is it free or a paid add-on?

POP selection
Can any of the CDN POPs act as a shield or can you select from a limited number of POPs?

Multiple
Can you have multiple POPs act as a shield or just one?

CDN comparison

Yes
Sort of/partially
No
Extra costs
Unknown
CDNAvailableSelectionMultiple
AdvancedHosting More info
Akamai More info
BelugaCDN
Bunny CDN More info
CacheFly More info
CDN77 More info
CDNetworks More info
CDNvideo
ChinaCache More info
Cloudflare More info
CloudFront More info
EdgeNext More info
Edgio More info
Fastly More info
Gcore More info
Imperva
Kingsoft Cloud
Lumen
StackPath More info
Tata Communications More info
Tencent Cloud More info
CDNs missing in this table? That is because we don't have the relevant info

More info per CDN

AdvancedHosting

A select number of POPs can act as the shield. The POP closest to the origin acts as the shield. VideoCDN customers can't enable Origin Shield, but by default several POPs act as a shield for video delivery.

Akamai

The name of the Akamai origin shield product is Site Shield.

Bunny CDN

Customers can turn on Chicago or Paris as the shield POP. Learn more at Understanding Origin Shield.

CacheFly

Customer can select from a limited number of POPs.

CDN77

CDN77 customers requiring Origin Shield are assigned 2 IP addresses of servers - one in US and one in Europe. The customer cannot choose the locations of these two shield POPs by default, but if the customer has a strong preference to use a location closer to the origin, CDN77 is willing to change the shield(s).

CDNetworks

On customer request, the CDNetworks support team will set up one or multiple POPs to act as a shield. The customer lists the origin server location(s) as well as the geography of end users and CDNetworks uses this info to determine which POPs can best act as a shield.

ChinaCache

Onr request, the ChinaCache support team enables and configures the Origin Shield.

Cloudflare

Cloudflare has Argo, a paid add-on to offload the origin, speed up cache misses and tighten security on traffic between CDN and origin. Part of Argo is the Tiered Cache and this is Cloudflare's take on Origin Shield: if a POP can't serve the response from cache, it will ask the 'nearest Tier 1 datacenter'. If that POP also does not have it in cache then it will get it from origin and serve to the requesting POP. Argo is included in Enterprise plans and available to all other customers at a minimum $5 per month and $0.10 per GB for all traffic over 1 GB/m. Read the Argo introduction blog post or Billing for Argo.

CloudFront

CloudFront launched Origin Shield on October 20, 2020. Origin Shield works with origins in AWS and origins outside AWS. Customers can select one of the locations where CloudFront has a regional edge cache to act as the shield. Origin Shield is charged as a request fee for each request that goes to Origin Shield. These fees are currently (Oct 2020) the same as you would pay for client-to-edge HTTP requests. View the CloudFront pricing page for more info about costs or read all about Amazon CloudFront Origin Shield in the official developer guide.

EdgeNext

Origin shield product is included without additional cost. It’s enabled by default and customers can disable it as desired. EdgeNext has preset coverage/templates to cover different regions, for example, if the origin is in Asia, the preset for Asia region will be used to cover and protect the origin.

Edgio

More info: Origin Shield Frequently Asked Questions.

Fastly

Fastly has an excellent guide about their Shielding feature. The online document explains how shielding works, how to enable it and what the caveats are (potential increase in costs). We particularly like that Fastly customers who use multiple origins can define a shield per origin. View the Fastly Guide: Shielding. Furthermore, Fastly offers the shield feature as a separate product for companies using multiple CDNs for live video delivery: Media Shield for Live

Gcore

Read about this feature in the Origin Shielding (pre-cache server) article.

StackPath

The StackPath shield POP maintains a long-lived connection with the customer origin and merges multiple requests for the same file into a single request to the origin. Learn more about StackPath Origin Shield

Tata Communications

Tata CDN does not have an origin shield feature. They have a tiered caching architecture and claim this gratly helps reduce the load on the customer origin.

Tencent Cloud

All Origin Shield implementations are custom and conducted by the Tencent DevOps team.

More CDN Guides