Updated on 2024-03-07 GMT+08:00

Configuring a Shared Cache Group

If different domain names point to the same resources, you can configure a shared cache group and set a primary domain name. Other domain names in the group share the cache of the primary domain name, improving the cache hit ratio.


  • Domain names in a shared cache group share the cached resources of the primary domain name. If no resources are cached, a large number of origin pull requests may be sent, occupying the origin server bandwidth. Exercise caution when adding a domain name to a shared cache group.
  • A domain name can be added to a shared cache group only when Query Parameters is set to Ignore all or Retain all.
  • Each shared cache group can contain up to 20 domain names.
  • An account can have up to 500 shared cache groups.
  • Before deleting a cache group, you need to clear the domain names associated with the group.


  1. Log in to Huawei Cloud console. Choose Service List > Content Delivery & Edge Computing > Content Delivery Network.

    The CDN console is displayed.

  2. In the navigation pane, choose Domains.
  3. On the Domains page, click Cache sharing in the upper right corner.
  4. Click Create Group to add a shared cache group.
    Figure 1 Creating a shared cache group
    Table 1 Parameters



    Cache Group Name

    Name of the shared cache group. A name contains 1 to 128 characters and does not support the following special characters: %&=?$"<>

    Primary Domain

    Primary domain name of the shared cache group. Other domain names in the group share the cache resources of this domain name.

    Associated Domains

    Domain names associated with the shared cache group. They share the cache resources of the primary domain name.

  5. Set required parameters and click OK.