Last update:2024-05-24 17:41:47
File prefetch refers to proactively fetching content from the origin server to CDN servers, which is particularly suitable for scenarios where there is no cached content on CDN servers or the cached content has expired, and customers do not want this to affect the access speed of their end users.
For example:
When there is no cache on CDN, and a user request reaches a CDN edge server, the CDN needs to request the content from the origin server. After CDN retrieves the content, it responds to the user. At this time, the user’s access speed is relatively slow because it needs to wait for the CDN to fetch the file from the origin server.
If the customer has used the file prefetch feature in advance, the CDN will proactively fetch and cache the file from the origin server. Then, when a user request reaches the CDN edge server, it will immediately respond without waiting for the CDN to fetch the file, significantly increasing the user’s access speed.
From the perspective of the origin server, file prefetch also reduces the number of CDN back-to-origin requests, thereby alleviating the pressure on the origin server.
File prefetch is suitable for customers’ large-scale events, such as installation package release, game updates, etc. By prefetching resources to CDN before the event starts, even if there is a high volume of concurrent user requests after the event starts, it will not affect the users’ access speed or the load on the origin server.
URL Text Box
Enter the URL of the file you want to prefetch as needed.
http://
or https://
and be specific, complete URLs, without support for regular expressions or directories. For example, http://www.a.com/image/test.png
.Prefetch Time
Log in to the CDNetworks Console, find in the left menu: Products > Application Services > Content MGMT > File Prefetch, and click Task Query. You can query file prefetch tasks by specifying time, domain, and URL. You will see the following information for the target task.
Task Status