All Products
Search
Document Center

Edge Security Acceleration:Purge cache by hostname

Last Updated:Aug 19, 2025

Purging by hostname removes all cached resources for a specified hostname. This method is useful for purging the cache for multiple hostnames in a single batch operation.

Scenarios

  • Update all cached content across multiple domain names for a website in a batch.

  • Quickly purge all cached content for a specific hostname.

Procedure

  1. In the ESA console, go to Websites. In the Website column, click the target site.

  2. In the navigation pane on the left, choose Caching > Purge Cache.

  3. On the Purge Cache tab, configure the purge settings.

    • Purge Type: Select By Hostname.

    • Purge Method: Select Mark as Expired or Delete.

      • Mark as Expired

        If the requested content is one of the resources that you submit to purge, the nearest POP checks the Last-Modified parameter of the resource on the origin server. If the parameter value is the same as that of the cached resource, the POP serves the cached resource. Otherwise, the cached resource is considered expired. In this case, the POP fetches the latest version from the origin server, delivers it to the client, and updates the cache with the new version.

      • Delete

        If the requested content is one of the resources that you submit to purge, the nearest POP fetches the latest version from the origin server, delivers it to the client, and updates the cache with the new version.

    • Purge Content: In the text box, enter the hostnames that you want to purge. Separate multiple hostnames with commas (,). Wildcard characters are not supported. For example:

      www.example.com,blog.example.com,shop.example.com

    image

  4. Click Submit.

  5. View the purge progress.

    After you submit the purge task, you can view its progress and details on the Purge Records tab. The task is complete when its progress reaches 100%. The time required to complete the task depends on the number of items to be purged.

Availability

Limit

Entrance

Pro

Premium

Enterprise

Daily quota (tasks)

Not supported

100

1,000

2,000