Help Center/ Content Delivery Network/ FAQs/ Cache Purge and Prefetch/ How Do I Purge the CDN Cache Where the Domain Name Includes a Wildcard?
Updated on 2024-04-17 GMT+08:00

How Do I Purge the CDN Cache Where the Domain Name Includes a Wildcard?

When purging the cache for a domain name that includes a wildcard, enter the URLs or directories of the level-2 domain names to be refreshed. Do not enter a URL containing a wildcard, such as https://*.example.com/file01.html or https://*.example.com/file02/.

Example:

  • An acceleration domain name is *.example.com.
  • The level-2 domain name housing the content whose CDN cache is to be refreshed is abc.example.com.
    1. Enter the URL to be refreshed: https://abc.example.com/file01.html.
    2. Enter the directory to be refreshed: https://abc.example.com/file02/.