Skip to main content

Upload files to cache

Last update:

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.

  1. If you want to update the files in the cache, clear the cache. Clearing the cache will remove the current cached versions.

  2. In the Control Panel, on the top menu, click Products and select CDN.

  3. From the menu of the resource, select Preload Cache.

  4. 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.
  5. Click Preload Cache. During preloading, the resource will be in PROCESSING status . The preload will be completed when the share is ACTIVE.