Feature Overview
eSurfing Cloud AOne EdgeTrans supports the following content refresh methods: URL-based refresh, directory-based refresh, and regular expression-based refresh. These methods have different implementation mechanisms while they ensure that users can access the latest content. The content refresh feature is used to update content cached on the edge nodes after the corresponding content on the origin server is updated.
• URL refresh: After executing the URL refresh request, the edge node will directly delete the cached content corresponding to the URL. At this point, if the client requests the content from the edge node, the node will return to the origin server to retrieve and cache new content, and return the content to the user.
• Directory-based refresh/regular expression-based refresh: After a directory-based or regular expression-based refresh task is executed, the corresponding cached entries are set to the expired state. When a client sends a request for accessing the content to an edge node, the node sends a back-to-origin request with the If-Modified-Since or If-None-Match header to the origin server to check whether the content is updated. If the origin server returns the 304 status code that indicates the content on the origin server is not updated, the CDN POP only updates the cache status and does not pull the content from the origin server. In such a case, the CDN POP returns the cached content to the client. If the origin server returns the 200 or 206 status code that indicates the content on the origin server is updated, the CDN POP pulls the new content from the origin server, caches the new content, and returns the new content to the client.
Before You Begin
You have added a service domain name. If you have not added it, see Adding a Service Domain Name.
Procedure
1. Log in to AOne, and select Acceleration Management > Refresh & Prefetching page.
2. On the Refresh & Prefetching page, click Create Task.
3. Select URL Refresh, Directory Refresh, or Regex Refresh based on your business requirements.
4. Follow the corresponding instructions under the title of refresh type, and enter the URLs that you want to update.
5. After you complete the configuration, click Submit.