Difference between CDN nodes and mirror sites

更新时间:
复制 MD 格式

Alibaba Cloud CDN nodes (also called points of presence, or PoPs) and mirrors both serve content to users, but they differ in how they store and retrieve that content.

Key differences

CDN node (PoP)Mirror
What it storesCached copies of requested resources onlyA complete replica of the entire website
How content is retrievedPulls from the origin server on first request (*Origin Pull*), then serves from cacheServes directly from its own full copy — no origin server request needed
Who triggers retrievalUser requests trigger origin pullsNo user-triggered retrieval
Number of copiesCached resources distributed across PoPsMultiple full mirrors of the same site

How a CDN node works

When a user requests a resource from an accelerated domain name:

  1. CDN routes the request to the PoP nearest to the user.

  2. The PoP checks its cache for the resource.

    • Cache hit: The PoP returns the cached resource directly to the user.

    • Cache miss: The PoP fetches the resource from the origin server (*Origin Pull*), caches it, and returns it to the user simultaneously.

  3. Subsequent requests for the same resource are served from the cache — no origin pull required.

A CDN node stores only the resources that users have requested. It is not a full copy of your website.

How a mirror works

A mirror is a complete replica of a website. When users request resources, the mirror serves them directly from its own copy — no origin server request is needed. You can create multiple mirrors of the same website to distribute load or improve availability in specific regions.