Which Should I Do First, Purge or Prefetch, When I Want to Update Cache?
If your origin server content is updated and you want to update the cache on CDN points of presence (PoPs):
- Purge the cache first. When cache purge is completed (about 5 minutes), prefetch the cache.
- If you directly perform cache prefetch, content that has been cached on CDN PoPs will not be updated.
If your domain name is added to CDN for the first time and no content is cached on CDN PoPs, you can directly perform cache prefetch to cache the content on PoPs.
Cache Purge and Prefetch FAQs
- What Are the Differences Between Cache Purge and Cache Prefetch?
- Why Am I Seeing Insufficient Permission for Cache Purge and Prefetch?
- Why Does a Cache Prefetch Operation Fail?
- Does Cache Purge Refresh Content Cached on All PoPs?
- Should I Enter an Origin URL or Domain Name URL for Cache Purge and Prefetch?
- Why Does a Prefetch Task Remain in the Being Processed Status for a Long Time?
- How Do I Purge the CDN Cache Where the Domain Name Includes a Wildcard?
- Why Is the Content Not Updated Even After I Prefetched and Purged the Cache?
- Does CDN Support Directory Prefetch?
- Are Cache Purge and Prefetch Mandatory?
- Do I Need to Purge or Prefetch the Cache of Both HTTP and HTTPS URLs?
- Can I Prefetch M3U8 Files?
- Which Should I Do First, Purge or Prefetch, When I Want to Update Cache?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
more