Upload files to cache
Cache preloading (pre-loading) allows content to be loaded into the CDN resource's cache before a user request is received. This reduces the time it takes to transfer content when the first request is made to the CDN resource. Preloading may be necessary before a planned high load on the content source, such as before a sale, or to quickly update files in the cache.
Cache preloading is supported for files up to 5 GB.
Cache preloading is available 10 times per hour.
-
If you want to update the files in the cache, clear the cache. Clearing the cache will remove the current cached versions.
-
In the Control Panel, on the top menu, click Products and select CDN.
-
From the menu of the resource, select Preload Cache.
-
Specify relative paths to the files to be loaded into the cache. Specify each path on a new line. You can add up to 10 paths at a time. To preload:
- specific file - specify
/path/to/file.jpg; - all files that start with
/path/to/(including subfolders) - specify:/path/to; - all files in
/path/and its subfolders - specify:/path.
- specific file - specify
-
Click Preload Cache. During preloading, the resource will be in
PROCESSINGstatus . The preload will be completed when the share isACTIVE.