Purging the cache by hostname clears all cached resources that match the specified hostnames. You can purge the cache for multiple hostnames in batches.
Use cases
Batch updating all cached content for multiple domain names on your website.
Quickly purging all cached content for a specific hostname.
Procedure
In the ESA console, navigate to Websites. In the Website column, click the target site.
In the navigation pane on the left, choose .
On the Purge Cache tab, configure the purge rule.
Set Type to By Hostname.
Purge Method: Select Mark as Expired or Delete.
Method
Description
Mark as Expired
If a user requests content that matches a resource to be purged, the ESA POP first performs an origin fetch to get the resource's Last-Modified information. If it matches the cached resource, the cached resource is returned. If not, the POP pulls the new resource from the origin, returns it to the user, and caches the new resource.
Delete
If a user requests content that matches a resource to be purged, the ESA POP directly performs an origin fetch to pull the new resource, returns it to the user, and caches the content.
For Purge Content, enter the hostnames to purge in the text box. Separate multiple hostnames with commas. Wildcard characters are not supported. For example:
www.example.com,blog.example.com,shop.example.com

Click Submit.
View the purge progress.
After submitting the purge task, you can view detailed records and progress of resource purging on the Purge Records tab. The purge task is complete when the progress reaches 100%. The progress varies with the number of objects that you want to purge. The purge task may require some time to complete.
Availability
Limit | Entrance | Pro | Premium | Enterprise |
Daily quota limit (items) | Not supported | 100 | 1,000 | 2,000 |