Purging the cache by hostname removes all cached resources that match the specified hostnames. This feature lets you purge content for multiple hostnames at once.
Use cases
-
Update all cached content for multiple hostnames of your site at once.
-
Quickly remove all cached content for a specific hostname.
Procedure
-
In the ESA console, select Websites. In the Website column, click the target site.
-
In the navigation pane, choose .
-
On the Purge Cache tab, configure the purge settings.
-
Type: Select By Hostname.
Purge Method: You can choose between two methods: Mark as Expired and Delete.
Refresh method
Description
Mark as Expired
Nodes are processed according to the following flow:
The ESA POP sends an origin request with the
If-Modified-SinceandIf-None-Matchrequest headers.The origin server compares the file modification time.
If the file is not modified, the origin server returns a 304 status code. The ESA POP can then use the existing cache file to respond to the client request.
If the file is modified, the origin server returns a 200 status code and the latest file. The ESA POP returns the latest file to the client and caches the resource.
Delete
If a user requests content that matches a resource to be refreshed, the ESA POP directly fetches the new resource from the origin, returns it to the user, and caches the new resource.
-
Purge Content: In the text box, enter the hostnames to purge. Separate multiple hostnames with a comma (
,). Wildcards are not supported. For example:www.example.com,blog.example.com,shop.example.com

-
-
Click Submit.
-
Monitor the purge status.
After submitting a purge task, you can view its details and progress on the Purge Records tab. A progress of 100% indicates the task is complete. Purging many files may take longer.
Availability by edition
|
Feature |
Free |
Basic |
Standard |
Advanced |
Enterprise |
|
Daily quota |
|
100 |
1,000 |
1,000 |
2,000 |