Purge Through the CP


Purging a file is required when you have changed or deleted a file on your origin, but the previous (old) version of the file is still cached and served by the CDN edge servers.


Universal CDN allows you to purge the content from the Control Panel or by using our API.

Purge Cached Resources from the Control Panel


To purge a file cached by the CDN edge servers from the Universal CDN Control Panel, follow the steps outlined below: 

1. Log in to the Universal CDN Control Panel at ucdn.com

2. Navigate to the Purge Files tab located in the left menu. 

3. If you have not chosen a zone, you should enter the full URL to the file:

http://subdomain.domain.com/path/to/filename.ext

If you have already specified a zone from the list, you should omit the domain name:
/path/to/filename.ext

4. Click on the Purge Files button. 

Allow up to 15 minutes for purge job completion, depending on the amount of objects.

Purge HLS Cache


UCDN provides a fast and efficient solution to purge the HLS cache, whether it’s the index.m3u8 or the master.m3u8 file, as well as individual segments. Below are brief descriptions of the different HLS objects that can be set for purging.

  • Purging the index.m3u8 file allows you to remove the specific HLS variant, including its associated segments and index files, from the cache. This method is useful when you want to refresh a particular resolution or variant of the video while keeping other variants intact.
  • Purging the master.m3u8 file enables you to remove all variants and resolutions associated with the video from the cache. This comprehensive purge removes the master file itself, index files, segments, and other related elements. It ensures a complete refresh of the HLS content, but keep in mind that it will impact all variants of the video.
  • In addition, you can also purge individual segments. This granular approach enables you to refresh specific segments while keeping the rest of the content intact.

From the UCDN Panel -> Purge Files tab -> Purge by filename section, you can choose between:

Specifying the zone’s host name and relative path.

Example:
I will purge files from: subdomain.domain.com
Purge files from this list: /hls/012345_360p.mp4/index.m3u8

Providing the full path without specifying the zone’s host name.

Example:
I will purge files from: guess zone from hostnames
Purge files from this list: https://subdomain.domain.com/hls/012345_360p.mp4/index.m3u8

Monitoring

You can monitor the purge job created by scrolling down to the Purge job list. 


The list of objects set for purging for each job can be viewed by selecting the links under the Items column:





Purge Cached Resources Through the API