All Products
Search
Document Center

Edge Security Acceleration:Purge cache by URL

Last Updated:Jul 16, 2025

Purging by URL lets you remove cached resources that exactly match the URLs you specify. This option is ideal for batch updates of cache files and resolving cache issues for specific files.

Scenarios

  • Updating resources such as stylesheets, images, and script files.

  • Immediately fixing content errors in specific files.

  • Performing small-scale cache updates to prevent traffic surges on the origin caused by large-scale purging.

Procedure

  1. In the ESA console, choose Websites, and click the target site in the Website column.

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

  3. On the Purge Cache tab, configure the refresh rules.

    • Refresh Type: Select URL.

    • Input Method: Supports two methods: Manual Input and Upload File.

      Refresh Input Method

      Description

      Manual Input

      Enter one or more URLs to be purged. The URLs must be full paths to the files. One URL per line. You can submit up to 1,000 URLs at a time. Example:

      https://www.example.com/cat.jpg
      https://www.example.com/image/cat.jpg?color=red

      Upload File

      If many URLs need to be purged, you can specify the URLs in a TXT file and then upload the file for batch purging. The URLs must be full paths to the files. One URL per line. The size of the TXT file cannot exceed 10 MB.

    image

  4. Click Submit.

  5. 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.

    • If you purge the cache by Upload File, you can view the file execution status on the File Upload Records tab. When the execution status is successful, it indicates that the file has been uploaded successfully and the purge task has started. You can view the purge status of individual files on the Purge Records tab.

      image

Availability for different editions

Limit

Entrance

Pro

Premium

Enterprise

Daily quota limit (unit: entries)

1,000

50,000

100,000

500,000