Help Center>
Content Delivery Network>
FAQs>
Cache Settings>
How Do I Synchronize Content Cached on CDN PoPs with That on the Origin Server?
Updated on 2024-02-26 GMT+08:00
How Do I Synchronize Content Cached on CDN PoPs with That on the Origin Server?
- You can set cache rules. For content that is frequently updated, you can set a cache rule with a short cache time to live (TTL). For content that is not frequently updated, you can set a cache rule with a long cache TTL to reduce the pressure on the origin server.
- If the configured cache TTL is not reached but new content is released or content is deleted on the origin server, you can manually purge the cache.
- Log in to Huawei Cloud console and choose Service List > Content Delivery & Edge Computing > Content Delivery Network. In the navigation pane, choose Prefetch & Purge. On the Cache Purge tab, refresh the cache.
- Call APIs to force the current content to expire and then prefetch new content. For details, see API Reference.
If only one file needs to be updated, use URL purge to refresh the file. If you use directory purge, all files in the directory will be refreshed and it will take a long time.
Parent topic: Cache Settings
Cache Settings FAQs
- Will the Cache on CDN PoPs Be Updated in Real Time?
- Does Huawei Cloud CDN Support Regular Expressions for Cache Policy Setting?
- Does CDN Support Batch Configuration of Cache Policies for Acceleration Domain Names?
- Does CDN Cache Status Codes 404 and 403?
- What Are the Default Cache Rules? Can I Modify the Cache TTL?
- Why Is the Cache Hit Ratio of a Domain Name with Whole Site Acceleration Greater Than 0?
- Does the Path in Cache Settings Refer to a Web Address or File Path on the Server?
- Why Is the CDN Cache Hit Ratio Low?
- Why Am I Able to Access and Download a File After It Is Deleted from an OBS Bucket?
- How Do I Cache the Homepage (Root Directory)?
- How Do I Check Whether a Cache Is Hit?
- Why Is the Latest Content Inaccessible Even When the Cache TTL Is Set to 0?
- Does Huawei Cloud CDN Support Caching octet-stream Stream Files?
- Why Are Certain Files Not Downloadable Even Though They Have Not Expired (365 Days)?
- How Do I Configure Cache for Resources That Do Not Need to Be Cached?
- Can I Specify a Directory and Filename Extension for Caching?
- When Hotlinking Happens, Will the Previous Cache Still Exist After I Change the Domain Name?
- All Resources Are Preheated, and the Cache TTL Is One Year. Why Is the Requested Content Still Being Pulled from the Origin Server?
- How Do I Synchronize Content Cached on CDN PoPs with That on the Origin Server?
- Why Does a Cache Rule Not Take Effect?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore