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-08-15 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 abc.example.com houses the content whose CDN cache is to be refreshed.
    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/.