tencent cloud

Feedback

URL Pre-Warming

Last updated: 2023-12-18 15:26:16

    Function Introduction

    When a business releases new resources, the client's first request for these resources may encounter a situation where there is no cache on EdgeOne, resulting in an inability to respond immediately and the need to follow the origin to obtain. The cache pre-warming function allows resources to be cached on EdgeOne in advance. In this way, even if the client requests for the first time, it can be directly responded from the cache of EdgeOne without the need to follow the origin. The implementation of cache pre-warming is to submit the URLs that need to be pre-warmed, and then cache the resources that match these URLs from the origin to EdgeOne in advance, thereby improving the acceleration effect and mitigating the pressure on the origin.

    Quota Description

    Different billing plans have different quotas, please refer to: Comparison of EdgeOne Plans.

    Usage Scenarios

    You may need to use this function in the following scenarios:
    Newly released content: When your business releases new content or updates existing content, you want to ensure that this content is immediately available on EdgeOne, so that client users can access the latest content for the first time, reducing the delay when accessing for the first time. For example, before the game business officially releases a new version of the installation package or upgrade package, the installation package resources can be preheated to EdgeOne. After the official release, users can directly obtain the installation package resources from the node when requesting to download these installation packages, improving the download speed.
    Large-scale event operations: Before large-scale events, you want to ensure that the key resources of the event have been cached on EdgeOne, which helps to ensure that when the event starts, client users can quickly access the required content, reducing the delay and congestion caused by high traffic.
    Expected traffic peaks: If you expect a significant increase in website traffic during a specific period (e.g., holiday promotions, news releases, etc.), you can use the cache pre-warming function to ensure that key resources have already been cached on the edge nodes. This helps to disperse the pressure of origin-pull requests during peak periods and improve the access speed of client users.
    Note:
    When preheating resources, simulated requests will be made to retrieve the corresponding resources from the origin. If there are many preheating tasks submitted, more origin-pull requests will be generated, and the bandwidth of the origin will increase.
    If the preheated resources conflict with the node cache, that is, if EdgeOne has cached identical resources and they have not expired, they will still be valid and will not be overwritten by the preheated resources. If the identical resources have changed, you can purge the corresponding node cache before preheating.

    Directions

    Scenario One: Preheat cache by inputting content

    If you have less content to preheat and it is convenient to input the content directly in the input box, please follow the steps below:
    1. Log in to the EdgeOne console, click on the site list in the left menu bar, and click on the site that needs to be configured in the site list.
    2. In the site details page, click Site Acceleration > Cache Pre-Warming.
    3. On the Cache Pre-Warming page, enter the corresponding resource content and click OK.
    4. Switch to the History Record tab to view the history records within a specified time range (within one month).

    Scenario Two: Batch import preheating cache content by uploading files

    If you have more content to preheat or have already placed the content in a file, you can choose to upload the file:
    1. Log in to the EdgeOne console, click on the site list in the left menu bar, and click on the site that needs to be configured in the site list.
    2. In the site details page, click Site Acceleration > Cache Pre-Warming.
    3. On the Cache Pre-Warming page, select the "Upload File" method and upload the file, then click Confirm Preheating.
    
    4. Switch to the History Record tab to view the history records within a specified time range (within one month).

    Related References

    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support