On this page

Show all

Help Center/ Content Delivery Network/ FAQs/ Cache Purge and Prefetch/ Which Should I Do First, Purge or Prefetch, When I Want to Update Cache?

Which Should I Do First, Purge or Prefetch, When I Want to Update Cache?

Updated on 2024-04-17 GMT+08:00

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.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback