No, the cache on the CDN acceleration node will not be updated actively and in real time after the source site changes the file. Typically, CDN caches content for a period specified by the cache control headers or configuration settings. This is to reduce the load on the origin server and improve response times for users.
For example, if a file on the origin server is updated, the CDN nodes might still serve the older cached version until the cache expires or is invalidated. Once the cache period ends, the CDN node will make a new request to the origin server for the file, and then cache the updated version.
To ensure that users receive the latest content immediately after an update, you can use cache invalidation or refresh mechanisms provided by the CDN service. This involves sending a request to the CDN to remove or update the cached version of the file.
In the context of cloud services, platforms like Tencent Cloud offer features for cache management, allowing you to control when and how content is refreshed on their CDN nodes.