Purge and prefetch is the update mechanism for resources cached in CDN nodes. This document describes how to purge and prefetch resources based on FileId
and URL
in VOD.
Note:
- A
FileId
is the ID of an audio/video media file in VOD. AFileId
is used for all operational outputs (e.g., transcoding or screencapturing) of a file. Therefore, when you purge or prefetch aFileId
, both the original video file and the output files (e.g., transcoded videos and screenshots) will take effect.URL
is the audio/video URL in VOD.URL
is specific to an audio/video media file. Therefore, when you purge or prefetch aURL
, only the corresponding file will take effect.
Note:Once you perform a cache purge on a resource, the system will delete the existing cache of the resource from the CDN nodes across the network. When a user request arrives at a node, the node will pull the corresponding resource from the origin server, return the request, and cache the resource, ensuring that the user obtains the latest resource.
Note:When a resource is prefetched, it will be cached in advance to all the CDN nodes across the network. When a user request arrives at a node, the resource can be directly obtained, and response time is shortened.
Note:The current console only supports viewing the operation records of File ID cache refresh and content warming.
Was this page helpful?